close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

image Cache question

Thread began 9/26/2012 8:04 am by mrs | Last modified 10/01/2012 12:18 pm by Jason Byrnes | 738 views | 6 replies |

mrs

image Cache question

What is the image cache for?

I have 11,000 products where I have the larger sized image used on the product page, and I have the _thumb versions for results pages too. So, straight away I have 22,000 images to upload to the client's website. The webassist folder / plugins / catalog / scripts / image_cache / imagesupload / has three more folders in it each with what I can only assume to be extra copies of the images at the root level folder imagesupload.

Do I need these extra images in the image cache as I now have thousands upon thousands of images to download and reupload due to moving to a new server.

I didn't create these extra images, and I added the content to the database via an SQL insert statement, and it seems that some of my 11,000 images have got a image cache version, and some don't.

So what is the image cache for, and do I need to use the content within it? Can I ignore it?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

the image cache is automatically generated if it doesn't exist.

Some pages show the product images at different sizes. A new copy of the original image is automatically created at the needed size if it doesn't already exist.

you can ignore the image cache folder when moving from one server to another, and let the resiZed images get regenerated as needed.

Sign in to reply to this post

mrs

OK, thanks Jason.

So, in that respect, I have downloaded everything that I should have to my local folder, but there are some missing images for some reason, it's fine on the remote server that I am moving from. I have tried to download it a bit at a time and in doing so, I have now got an error message on the home page in the left and right pods:

function.imagejpeg]: Unable to open 'image_cache/~username/imagesupload/crop/abc_w207_h146/abc_09251137.jpg' for writing: No such file or directory in /website/folder/webassist/plugins/catalog/scripts/resize_image.php on line 213
webassist/plugins/catalog/scripts" class="popularImage" />

but resize_image.php is there...

Mat

Sign in to reply to this post

Jason ByrnesWebAssist

make sure that the image_cache/ folder exists and that is has full read write access permissions to allow for the cached imaged to be created.

Sign in to reply to this post

mrs

Actually, don't worry! I have just realised that I am meant to be looking at line 213 of resize_image.php rather than the code on the home page.

213 of resize_image.php refers to permissions and then the penny dropped. Because I have downloaded the whole size to collect everything including amends and new images byt the client, I have downloaded a folder that is locked... I just needed to change permissions at root level and apply to all enclosed items so the script could create the files needed automatically as you said.

Just thought I'd highlight this for anyone who has the same problem!

Thanks

Mat

Sign in to reply to this post

mrs

Some images that are in the images folder are not showing. Can I delete the images in the cache folder and start again?

The images not displaying are certainly on the remote server and should be showing fine!

Is there any reason for this happening?

I've also re-uploaded a few of the images in question, but still no luck!

And I've also just tried to edit it in the admin area, but still no joy!!

Sign in to reply to this post

Jason ByrnesWebAssist

send a link where i can see the problem please.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...