Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » image "Null" issues

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1392 Views
  • ash
    Avatar
    Community Member
    2 Posts

    image "Null" issues Link to this post

    Hi all,

    I am having a problem with one of my images. It is a table created in adobe illustrator that I've uploaded into my site as both a .png and .gif file. After I insert either of the images into my chosen page it shows up perfectly and I save my page. When I publish the page my image is nowhere to be found. Plus, if i go back to the page in CMS later - the image is a blank rectangle (i attached it).

    Any suggestions?

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: image "Null" issues Link to this post

    are you copying and pasting the images from illustrator into the site? If you are then you have to upload the images first to the 'Files and Images' section, then in your content click the image icon -> insert image and select the image file that way.

    If this is already how you are doing it, try it again and after you have inserted the image into a page, right click the image and select 'Image Properties'. The Image url in that popup should be "assets/..." for it to work. If it points somewhere else that could be why its on working

    Woops ignore that first paragraph. Didn't read your post well enough!

  • ash
    Avatar
    Community Member
    2 Posts

    Re: image "Null" issues Link to this post

    Thanks so much for the reply, the image url that comes up is:
    assets/Images/jacksonsbudget.png?r=78073

    But my published page says "null" where the image should be:
    http://lacamac:8888/silverstripe/view-a-sample-budget/

    It is the strangest thing - I haven't had any problems with images before.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: image "Null" issues Link to this post

    can you edit in that same Image Properties window edit the URL to remove the ?r=78073 then save then try again. I don't know why there is a ?r there but that could be messing with something

  • artlung
    Avatar
    Community Member
    10 Posts

    Re: image "Null" issues Link to this post

    The fault is in TinyMCE -- this is a known issue [link]http://open.silverstripe.com/ticket/1979[/link] and supposedly this patch will be rolled into SilverStripe 2.2.3.

    1392 Views
Page: 1
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.