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 June 4th, 2014, 03:34 PM
benjaffer benjaffer is offline
 
Join Date: Feb 2014
Posts: 118
Default Merchant logo resize

Hi

I have added some custom products from some non-datafeedr merchants. Some of them have logos that are slightly larger/smaller in size than the factory standard logo size and they are distorting my pages. How can I resize them to look like the factory standard size of logos?
  #2  
Old June 4th, 2014, 03:55 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

You should set the width and the height attribute of the image tags to 150px by 40px respectively.

Eric
  #3  
Old June 4th, 2014, 04:13 PM
benjaffer benjaffer is offline
 
Join Date: Feb 2014
Posts: 118
Default

Thanks Eric

I know I should width="150" height="40" but where would I place it in the product list/product details pages so the logo looks like these attributes?
  #4  
Old June 4th, 2014, 07:25 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

What pages on your site have merchant logos?

Eric
  #5  
Old June 5th, 2014, 01:11 AM
benjaffer benjaffer is offline
 
Join Date: Feb 2014
Posts: 118
Default

Store front-page only.
  #6  
Old June 5th, 2014, 09:06 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Try changing this:

HTML Code:
[product.merchant_logo]
To this:

HTML Code:
<img src="[product.merchant_logo tag='0']" width="150" height="40" />
Eric
  #7  
Old June 5th, 2014, 09:37 AM
benjaffer benjaffer is offline
 
Join Date: Feb 2014
Posts: 118
Default

Thanks Eric

That didn't work either. Check my store front page the bottom product list titled More Products at www.fashiontazia.com. The "Joules" logo is causing this.
  #8  
Old June 5th, 2014, 09:44 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

That's because your theme has set all images to have a width of 100%.

Try this instead:

HTML Code:
<img src="[product.merchant_logo tag='0']" style="width:150px;height:40px;" />
Eric
  #9  
Old June 5th, 2014, 05:49 PM
benjaffer benjaffer is offline
 
Join Date: Feb 2014
Posts: 118
Default

Thanks Eric

That did it. Where would you usually look for the images settings. I'm using "Premium Press" theme. I checked under media settings and there I found the sizes of the thumbnail, medium and large images sizes but they were in numbers. Is this where I have to check?
  #10  
Old June 5th, 2014, 06:26 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

I saw the image settings in the CSS for the page. It could be set anywhere.

Eric
  #11  
Old June 5th, 2014, 06:47 PM
benjaffer benjaffer is offline
 
Join Date: Feb 2014
Posts: 118
Default

OK. Thanks Eric.
 


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
Resize Thumbnail Images ljackson71 Questions 6 February 13th, 2014 07:53 PM
Thumb resize tloenders Feature Requests 1 August 15th, 2012 08:19 AM
Merchant Logo Resize bultpruf Questions 4 November 20th, 2011 03:25 PM
How do I resize my thumbnails? dcutri Problems 4 February 4th, 2011 04:32 PM


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


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