Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 25th, 2011, 02:29 PM
kaje kaje is offline
 
Join Date: Mar 2011
Posts: 142
Default Datafeedr Image Display Limitation?

Can I manually change the column datafeedr reads to display an image?

The feed I can manually download from my merchant on GAN, has a full sized image column available. Datafeedr seems to only pull the thumbnail image. Is there way to set/choose what image column datafeedr should use? Can I remap this or can this be remapped.

If not is there any other way for me to get access to the larger images of the feed? i.e. storing them locally etc.?

Thanks!
  #2  
Old March 25th, 2011, 02:31 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

What merchant are you referring to?
What's an example product as well?

We should be pulling down a small and large image from GAN already.
  #3  
Old March 25th, 2011, 02:41 PM
kaje kaje is offline
 
Join Date: Mar 2011
Posts: 142
Default

The merchant is 4checks and they provide option images in their feed (Option7 & Option8). This is an example product...http://www.artisticchecks.com/artist...233STCHK_e.gif
  #4  
Old March 25th, 2011, 02:47 PM
kaje kaje is offline
 
Join Date: Mar 2011
Posts: 142
Default

If you had to pick on column for large image it should be the Option8 column.
  #5  
Old March 25th, 2011, 03:03 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

We only index the known fields from a merchant's datafeed.

The only option I think you have is to replace the "Image" field with the URL for the large image within the Factory. To find that field, click the "more info" link for the products.

Or you could write some logic within your views to serve up the large image when needed. It seems the pattern for their images is this:

http://www.messageproducts.com/message_assets/images/product/8MHBPCHK_m.jpg
http://www.messageproducts.com/message_assets/images/product/8MHBPCHK_e.gif


So, you could use a simple str_replace in your views to substitute _m.jpg with _e.gif.

Eric
  #6  
Old March 25th, 2011, 03:36 PM
kaje kaje is offline
 
Join Date: Mar 2011
Posts: 142
Default

Thanks Eric for you fast replies. So the option fields aren't "known" fields? The problem is apparently the known fields don't provide a large image? Any way that can be fixed or is that on the merchant?

I really need the _e.gif image to show so your idea about writing a code snippet to substitute the tail end of the string is a great idea. Unfortunately I'm not very good at php code. Is this something any php coder could write?

And to implement this code just be paste it into the views section of whatever product list is being displayed? Sorry for the rookie questions.
  #7  
Old March 25th, 2011, 03:44 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Yes, unfortunately, GAN doesn't provide multiple image fields and therefore the merchant has no idea where to put their additional images.

If you do something like this in your views, that will display the large images:

Code:
<?php $large_image_url = str_replace("_m.jpg", "_e.gif", $product->thumbnail); ?>
<img src="<?php echo $large_image_url; ?>" alt="[product.name]" />
Eric
  #8  
Old April 1st, 2011, 02:18 PM
kaje kaje is offline
 
Join Date: Mar 2011
Posts: 142
Default Works great

Thank you!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom product info/image display problem feri Questions 2 February 19th, 2011 10:05 AM
Editing the image size of the datafeedr product widget whkchan Questions 1 January 14th, 2011 12:41 PM


All times are GMT -5. The time now is 01:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.