Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Problems
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
Old May 18th, 2012, 04:05 AM
Ordertoys Ordertoys is offline
Join Date: Mar 2011
Posts: 17
Default Max Image Width

Store ID:
Website URL:
URL to page in question:

Hello, hopefully one of you will be able to help me out.

I'm trying to reformat my Product pages and I noticed that some of the Amazon images are huge.

Is there a way to make the max-width: 350px. Now I have complicated things by customizing the code like this....

<table style="width: 100%;" border="0" align="left">
<td style="width: 50%;" rowspan="2" align="center" valign="top"><a href="[product.url direct='0']" title="[]" target="_blank" rel="nofollow"><img max-width="350" src="<?php echo dfr_replace_image_url($product->image); ?>" alt="[]" /></a></td>
<td colspan="3" valign="top"><h2><a href="[product.url direct='0']" title="[]" target="_blank" rel="nofollow">[]</a></h2></td>
  <td valign="top"><a href="[product.url]" target="_blank" rel="nofollow">[product.currency mode="sign"][product.price]</a></td>
<td style="text-align: right;" valign="top"><a href="[product.url]" class="dfbutton dfgreen dflarge" title="Order" target="_blank" rel="nofollow">Order</a></td>
<td style="text-align: right;" valign="top"><a href="[product.url]" width="100" target="_blank" rel="nofollow">[product.merchant_logo]</a></td>
<table style="width: 100%;" border="0" align="left">
  <td colspan="4"><h2>Description</h2></td>
<td colspan="4"><p class="desc">[product.description html='yes']</p></td>
<!-- /Single Product -->
Now I know this is more than likely not the way I should have done it.. but i'm not sure how to do what I've done with <div> tags.

In firebug it looks like its my Themes style.css thats restricting the max-width to 570px, obviously this affects my whole site, blog etc if I mess with this.

Any ideas how I can sort this? I've looked around the forum but, probably because of the other alterations I've made.... its not working.

Many thanks in advance

Old May 18th, 2012, 07:47 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902


You need to do something like this:

<img style="max-width: 350px" src="...

Old May 18th, 2012, 11:46 AM
Ordertoys Ordertoys is offline
Join Date: Mar 2011
Posts: 17

You Star Many 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
Change width of drop down menu fsuggest Questions 4 April 29th, 2012 10:40 AM
Column Width fitfirma Questions 2 January 26th, 2012 05:58 PM
modifying the module column width bjbereit Questions 5 July 25th, 2011 09:06 AM
The Problem about Product list's width jasonman188 Problems 1 March 16th, 2011 08:26 AM

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

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