When I run the images/flush I get:
54 formatted images from 51 items flushed
so looks ok, but still no joy.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
When I run the images/flush I get:
54 formatted images from 51 items flushed
so looks ok, but still no joy.
@lobo : In my case , the images were definitely not replaced and were placed in a content-block (through tinyMCE) or in a summary-list (which used a Silverstripe Image field that got resized) , so no DOM or image galleries were being used ....
Found this thread while looking for something else, this could explain some odd beahaviour I am seeing in a site running on SS v2.3.4
Using the latest ecommerce trunk to host a catalogue of images for a photographer, so disappearing images is a big deal. I will try running image/flush and see what I get.
Anyone else made progress on this in the last 4 months?
Rich
This has occurred in our site as well. Any images used on pages from the _resampled folders are now missing.
Silverstripe 2.3.4 with DataObjectManager.
Has this been fixed in any recent patches?
Just trying to think how I solved this.
IIRC the issue was with images added to the CMS before SWFUpload was installed. I'm a bit sketchy on the details but removing the images and re-adding them with SWFUpload sorted it for me.
Might not be the same issue you're having but it's one scenario.
hth
Rich
Apologies for bumping such an old thread, but I am experience identical symptoms on a 3.1 website.
Images uploaded and resized via TinyMCE are having their resampled copies removed randomly.
When the image is resized within TinyMCE, the src path is assets/Uploads/_resampled/ResizedImage600464-<filename>.jpg
Initially, the file saves correctly and the resized image appears. But my client is notifying me that these images are now appearing as broken. Upon further investigation I see that the resampled copy of the image doesn't exist, but the original image does.
The resized files aren't regenerating, and I have to go into the CMS and re-add & resize the original images.
I can't replicate the resized image being removed so I don't know what would be triggering that.
Has anyone else experienced similar symptoms and does anyone have a resolution?
Upon further investigation, an unrelated dev/task/FlushGeneratedImagesTask call is the culprit. This is ran via a cron job on an unrelated task within the same website.
Unfortunately, this results in any images resized within TinyMCE to not regenerate until I republish the page.
Does anyone know of any way to prevent the ResizedImages created via TinyMCE from being deleted while performing FlushGeneratedImagesTask? Or alternatively how they can be regenerated automatically upon calling FlushGeneratedImagesTask?
Any help would be appreciated.
Sorry for the bump - just checking to see if anyone can help with this problem before I stop using FlushGeneratedImageTask entirely.
Cheers.