Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
On a test environment running Umbraco 4.6.1 on IIS 6 - I uninstalled ImageGen 2.0.1 and installed 2.5.2. Some how or another it seems like all the resized images that were created in ImageGen prior to this procedure have disappeared. Not that big of a deal since it is a test environment, but can't risk it happening on our staging or production servers.
Are there some recommended steps to get from 2.0.1 to 2.5.2?
The upgrade instructions are:
Yes, those were the instructions I followed, at least to the extent that I could. For example, I uninstalled ImageGen 2.0.1, but there were no entries in the web.config to remove. There are also no cached folders to delete. This seems to indicate that there's a significant difference between the 2.0.1 and 2.5.2 - so I was thinking that those upgrade instructions were more relevant to upgrading from a more recent version of ImageGen and that maybe there's a recommended upgrade path from 2.0.0 to 2.5.2.
When I view the website - all the images that were resized are gone - so from a website visitors perspective there are a lot of missing images.
I read the Users Guide and Reference Manual, but it just tells you how 2.5.2 works. Thanks anyway.
Thanks for the clarification.
Using the free version of ImageGen doesn't require any changes to the web.config so that check is needed but there might not be anything to do, as in your case. The 'cached' folders should exist below wherever the images are that ImageGen resizes. For instance, if you resize /media/1234/photo.jpg you'll find a cached folder at /media/1234/cached. Depending on how many different locations your source images are you'll find cached folders in each of those areas.
The issue with images not appearing is that there was a change to the location of the imagegen.ashx file with 2.5. It is now located in the root of your site but in earlier versions it was in /umbraco/imagegen.ashx. You can either copy the .ashx file from the root to the /umbraco folder or update your macros to reflect the new path. That's the note in step 5 of the upgrade instructions.
Aha! I missed the part about moving the imagegen.ashx file - the images are showing up now! Thanks. :)
There were no cached folders in the media files. For instance, /media/1234/photo.jpg and /media/1234/photo_thumb.jpg - but that may be a function of how the developer that was originally hired built the image galleries with ImageGen.
Thanks for your help! I'd give you a high five, but I don't have enough Karma.
Glad it is working now.
You may also find a /data/cached folder or /app_data/cached folder if you use text-only images. There have to be cached folders around somewhere or you're wasting server resources generating images with every website visitor request. It might be worthwhile asking the original webdev about it so you get the most benefit of ImageGen.
Keep asking questions, answering posts, making packages and being involved in the umbraco community and your karma will grow quickly. :)
Do mark the answer at least for the next person.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted