Jump to content

Product/Cat Product Sizing


Recommended Posts

Just a quick question on how the uploaded photos work, if I set the image sizes in the skin configuration to a value and then change these later would the images resize on recache or would they need to be uploaded again to resize to the new size?

An example would be a product with a 800x800 photo upload and the skin has the photos setup at 100x100 and then later on they are changed to 200x200.

Link to comment
Share on other sites

Every time CubeCart is "woken up", the configuration of the skin is read in. So, in the Latest Products, for example, CubeCart is to use the 'small' image size. According to the configuration, small is 138 pixels (for Kurouto). If there is no image in the cache having the filename product_image.138.jpg, CubeCart will use the source image to create this particular sized image and cache it.

 

Therefore, if the configuration changes and small becomes 175 pixels, CubeCart will look for product_image.175.jpg. Not finding it, CubeCart will make it and cache it.

 

I hope I have answered your question.

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...