Jump to content

How should i change the thumnail size of image that is displayed on we


Guest stfr

Recommended Posts

hello ,

I am very new to Cube cart functions and i just got on this project .

the website is completely developed by somebody else and now i have to make few changes.

Website is www.starcofurniture.com.

Home page is fine.

on left side navigation click on Stationary Sectional and then you will see list of products .Here the image that you see looks very small so want to increase the size.

Please help me as in which file to edit.

Link to comment
Share on other sites

Hi dennis,

I changed the size of image in general settings,but as far as i know i need to change somewhere in design of tha tpage as that space must be assigned fix for thumnail. Can you suggest me what file to edit if you are aware??

Link to comment
Share on other sites

If the skin doesn't deviate too much from a stock skin, look in:

\skins\milano_blue\styleTemplates\content\viewCat.tpl

We're looking for something close to this:

  <tr>

	<td align="center" class="{CLASS}"><a href="index.php?act=viewProd&amp;productId={PRODUCT_ID}" target="_self"><img src="{SRC_PROD_THUMB}" alt="{TXT_TITLE}" border="0" title="{TXT_TITLE}" /></a></td>

It looks like your skin has a hard width set on the image size. I see that your thumb image sizes are all over the place: 250, 150, 75 px wide.

Link to comment
Share on other sites

Sorry. Didn't realize you didn't make the leap.

Do as I said before. Look for that file and the line in that file. To do that, obtain and learn to use a program called an FTP client. Several good ones. One even becomes part of Firefox. Use the FTP program to log in to your hosting site and find and retrieve that file I mentioned earlier. Then use any text editor (Notepad will do) to look for the line of code I mentioned earlier.

That line of code will contain something like: width="75". You will need to change 75 to 150. Save the file and use the FTP program to put it in the same place where you found it before, over-writing the version that is there with this new version.

So, when viewing your store after all that, your thumbnails will be twice as big as they were before.

Link to comment
Share on other sites

Thank you so much. It really helped me.

Can you please check i have changed the size and it is fine now but the images are pixelating ..i mean blurry.Do you suggest anythign to do in settings as i have kept thumnail size in settings as 250 and max as 500 or do i have to upload images with new pixelation.

Link to comment
Share on other sites

bsmither,

I have 700 products to upload and as in cube cart i llhave to upload images product by product.

Is there any way like excel file where i can enter product name,Description ,everything else in in excel sheet alonog with images and upload that excel file? or do you have idea to upload all images together?

Please let me know .

Thank you.

Link to comment
Share on other sites

There are some mods at www.cubecartforums.org that will let you bulk upload products. There's also a mod that will work through the images and recreate the thumbnails. Your pixelation is because some of the thumbnails are currently at 75 pixels wide, but you are forcing the browser to show them at 250 pixels wide. Not everyone will be using a browser that intelligently enlarges images. They just multiply each pixel to make the new size.

Link to comment
Share on other sites

thank you for your guidance.

I know this would be very silly to ask you but i have no option. How that mod works? Do i have to buy it and how to implement that mod?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...