Hi, I'm using 68C V 4.1.9 Developer. Ive installed seller store module and modified the code using this tutorial: http://www.68classifieds.com/forums...tions/7953-store-image-name-showlistings.html I want to show the thumb of the logo/avatar uploaded using seller store: inside showlisting I've used PHP: <img src="thumbs/small_{$entry.sImage}"> but it shows nothing! It seems like seller store doesn't create a thumb, instead it uploads the original image in photos and that's it! I forgot...In showlisting I deleted the tables, I'm just using div + css. HELP!!! Thanks!
Hi Nick! Thanks! I know it works this way, but the image doesn't resize...I mean, I want the the thumb because I don't have any space for the original image, the customers usually upload big images and this way my entire div-builted showlisting is ruined! Any idea?
unless you have modified the script it does not make a thumb version of the seller logo. Try using this in the css file Code: .storeimage{width:200px} then Code: <img src="photos/{$entry.storeImage}" class="storeimage" alt="{$entry.storeTitle}" /> Regards, Nick
Thanks! But it doesn't work...the image size is the original one...ie if the image size is 400px x 400px, it remains the same size and shash my div... Any other idea?
Why not force the dimensions. <img src="photos/{$entry.storeImage}" class="storeimage" width="100px" height="100px" alt="{$entry.storeTitle}" /> or don't use pixel dimensions but percentages instead if you prefer. Not sure what "storeimage" is doing so you may wish to remove it unless it is doing some styling you actually need.
Or instead, make a seller store icon the size that you want and show that instead of their own image. that way, they will still stand out to the end users as a business with a seller store. You could do something like this then in your showlistings: {if $entry.storeImage <>''} <img src="pathtoyoursellerstoreicon" alt="{$entry.storeTitle}" width="100px" height="100px" border="0" /> {/if}
In my previous post i said to add .storeimage{width:200px} to the css file, that works fine on my sites. Also i would only set either the width or the heigh, not both. Nick