Jump to:

23001 Posts in 11854 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » CRITICAL: Missing / Disappearing Images

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4
Go to End
Author Topic: 4059 Views
  • Mario...
    Avatar
    Community Member
    14 Posts

    Re: CRITICAL: Missing / Disappearing Images Link to this post

    When I run the images/flush I get:
    54 formatted images from 51 items flushed

    so looks ok, but still no joy.

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: CRITICAL: Missing / Disappearing Images Link to this post

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

  • TotalNet
    Avatar
    Community Member
    181 Posts

    Re: CRITICAL: Missing / Disappearing Images Link to this post

    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

  • Mai
    Avatar
    Community Member
    1 Post

    Re: CRITICAL: Missing / Disappearing Images Link to this post

    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?

  • TotalNet
    Avatar
    Community Member
    181 Posts

    Re: CRITICAL: Missing / Disappearing Images Link to this post

    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

  • flipsidenz
    Avatar
    Community Member
    49 Posts

    Re: CRITICAL: Missing / Disappearing Images Link to this post

    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?

  • flipsidenz
    Avatar
    Community Member
    49 Posts

    Re: CRITICAL: Missing / Disappearing Images Link to this post

    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.

  • flipsidenz
    Avatar
    Community Member
    49 Posts

    Re: CRITICAL: Missing / Disappearing Images Link to this post

    Sorry for the bump - just checking to see if anyone can help with this problem before I stop using FlushGeneratedImageTask entirely.

    Cheers.

    4059 Views
Page: 1 2 3 4
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.