Real Estate Forums

MLS listings and IDX Solutions Discuss implementation of MLS / IDX solutions, MLS providers and how to improve conversion using the multiple listings service available in your area.

Reply
 
Thread Tools Display Modes
Old 12-06-2007, 11:21 PM
FProps FProps is offline
Advancing Webmaster
 
Join Date: Dec 2007
Location: Connecticut
Posts: 32
FProps is on a distinguished road
Send a message via AIM to FProps
Default MLS Images .. add image to database? add image location to database? scan folder?

I have the MLS listing data all set. Now I need to add photos to the listings.

I think there is 3 options ..

A) Import the images to added columns to each listing

B) Save the images to an image folder, and store the URL in added database columns.

C) Save the images to an image folder and scan the folder for images with matching mls# per search.

Im leaning towards (B), but ide like to hear your recommendations.

Also, whats the best way to read-in the images?

The image file name format is like this ..

example: 'E208871_401_12.jpg' .. which translates to: MLS#_IMAGE#01_IMAGECAT'

note: '01' always follows the image#, and 'IMAGECAT' reffers to 'exterior image', 'image of kitchen' .. ect ..

Last edited by FProps; 12-06-2007 at 11:34 PM.
Reply With Quote
Old 12-07-2007, 12:29 AM
webmaster's Avatar
webmaster webmaster is offline
Administrator
 
Join Date: Apr 2004
Posts: 13,816
webmaster will become famous soon enough
Default Re: MLS Images .. add image to database? add image location to database? scan folder?

Option B is definitely best - do a count on the images and store that in your dB if you need to (Hopefully you don't) rename the images as you store them in your folder - that way you can use the count to anticipate image1-1 image1-2 etc
__________________
Strep throat! - Yup tis the season - boooo if you are wondering why you haven't seen me as much it's because I had strep throat for a week, feeling better just playing catch up. Merry Ho Ho folks
Reply With Quote
Old 12-07-2007, 11:05 PM
FProps FProps is offline
Advancing Webmaster
 
Join Date: Dec 2007
Location: Connecticut
Posts: 32
FProps is on a distinguished road
Send a message via AIM to FProps
Default Re: MLS Images .. add image to database? add image location to database? scan folder?

Unzipping the image file with PHP. Whats the method for this? I have gotten the files copied to a folder on my server, but I need to unzip the file. Is their a php script for this. I found a 'system(unzip $file,$return_value)' command but doesnt work for me.
Reply With Quote
Old 12-10-2007, 10:19 AM
REW Reed's Avatar
REW Reed REW Reed is offline
Real Estate Webmasters Staff
 
Join Date: Jan 2007
Location: Nanaimo, BC
Posts: 513
REW Reed is on a distinguished road
Default Re: MLS Images .. add image to database? add image location to database? scan folder?

That call, system(), asks your hosting environment to run whatever is in the parentheses. If you do not have an 'unzip' on your hosting environment, this will not likely work. You might also be giving 'unzip' the wrong arguments. You might have to log into your host environment with a secure shell and fiddle around with some command line options of unzip to get things going. Once you have it working manually, copy that over into the system() call.
__________________
Reed Botwright
IDX Coordinator
Real Estate Webmasters Staff
MLS Update Blog

Last edited by REW Reed; 12-10-2007 at 10:24 AM.
Reply With Quote
Old 12-10-2007, 10:32 AM
FProps FProps is offline
Advancing Webmaster
 
Join Date: Dec 2007
Location: Connecticut
Posts: 32
FProps is on a distinguished road
Send a message via AIM to FProps
Default Re: MLS Images .. add image to database? add image location to database? scan folder?

Is the system() call the best option? I think I also seen a php unzip class somewhere? What do most people use?
Reply With Quote
Old 12-10-2007, 12:54 PM
REW Reed's Avatar
REW Reed REW Reed is offline
Real Estate Webmasters Staff
 
Join Date: Jan 2007
Location: Nanaimo, BC
Posts: 513
REW Reed is on a distinguished road
Default Re: MLS Images .. add image to database? add image location to database? scan folder?

Try checking out:

ca3(dot)php(dot)net/zip

Do a search on the page for 'unzip'. It's about a third of the way down the page.
__________________
Reed Botwright
IDX Coordinator
Real Estate Webmasters Staff
MLS Update Blog

Last edited by REW Reed; 12-10-2007 at 01:01 PM.
Reply With Quote
Old 12-10-2007, 09:17 PM
FProps FProps is offline
Advancing Webmaster
 
Join Date: Dec 2007
Location: Connecticut
Posts: 32
FProps is on a distinguished road
Send a message via AIM to FProps
Default Re: MLS Images .. add image to database? add image location to database? scan folder?

Maybe its just me .. but this whole system seems flukey.

If I get the partial download of images .. than it seems there are many instances I will have inacurate data.

for instance ..

- Original listing has 3 photos ..
- Next day Agent removes the 3rd photo from the listing and changes the 1st.
- I get a partial update of the changed 1st photo.

PROBLEM: I never know about the 3rd image being deleted.
Reply With Quote
Old 12-11-2007, 02:45 PM
REW Reed's Avatar
REW Reed REW Reed is offline
Real Estate Webmasters Staff
 
Join Date: Jan 2007
Location: Nanaimo, BC
Posts: 513
REW Reed is on a distinguished road
Default Re: MLS Images .. add image to database? add image location to database? scan folder?

Unless your MLS provides a means to check this (e.g. a field with a list of appropriate image files) or specifically notifies you of a change, I don't believe it is your responsibility to manually check every listing against the MLS every time there is an update to see if you are showing the right images.
__________________
Reed Botwright
IDX Coordinator
Real Estate Webmasters Staff
MLS Update Blog
Reply With Quote
Old 12-11-2007, 11:10 PM
FProps FProps is offline
Advancing Webmaster
 
Join Date: Dec 2007
Location: Connecticut
Posts: 32
FProps is on a distinguished road
Send a message via AIM to FProps
Default Re: MLS Images .. add image to database? add image location to database? scan folder?

Its not that im worried about their requirements .. its just that I would like accurate information on my website. I guess everyone else's website is inaccurate also? or am I missing something?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 07:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.