Problem opening .PNG files

  • Author
    Posts
  • #1338500

    dutecnic
    Member

    Hello. I have a PAGE (not post) that shows some .PNG and .JPG files.

    Everything is working as expect when uploaded, but once clicked on, .PNG files gives me an Error 404…

    The weird thing is that this occurs ONLY with .PNG files. I mean, the .JPG as working just fine.

    I have already tried to have the files uploaded a few times, but it didn’t help. Then for curiosity, I converted one .PNG file to .JPG and it worked…

    Therefore I think this might be an issue for you guys to check out…

    Thanks.

    The blog I need help with is minutohm.com.

    #1338560

    dutecnic
    Member
    #1338564

    auxclass
    Member

    This is a good png file on your site and displays fine: http://minutohm.files.wordpress.com/2013/07/cropped-logo_header_belowmenu_degrade_minutohm.png?w=700&h=95

    This: http://minutohm.com/nossa-identidade-visual/cropped-logo_header_belowmenu_degrade_minutohm-png/

    Which is the link goes to a page that does not exist – note the dash in the link – that is to a page – not an image “minutohm-png”

    Things are fine – you are just getting the link format wrong

    #1338571

    justpi
    Member

    This is the URL of your first PNG:
    http://minutohm.files.wordpress.com/2013/07/cropped-logo_header_belowmenu_degrade_minutohm.png
    And this is the URL of your first JPG:
    http://minutohm.files.wordpress.com/2010/03/evil-clock_black_final.jpg
    They both work fine (same applies to the rest of the images), so this has nothing to do with PNG vs JPG.
    You have set the images to link to attachment pages. Attachment pages are subpages to the post or page the image is attached to. As auxclass said, the images that don’t work as expected are attached to a non existent page – this page:
    http://minutohm.com/nossa-identidade-visual
    This means you had uploaded and inserted the problem images to that page, then transferred their code to a new page, or you changed the slug of the page after uploading and inserting the images. You need to delete the images from the page and re-insert them.

    #1338574

    dutecnic
    Member

    auxclass, you’re right. The problem was that I uploaded them but then renamed the page, removing the word “nossa”. Didn’t know that all files that were related to it were not automatically updated (their URLs).

    Thanks a lot!

    #1338576

    dutecnic
    Member

    Thanks justpi. That was the problem. Didn’t need to upload them again, just to update their URLs on MEDIA. Thanks!!!

    #1338577

    auxclass
    Member

    @justpi – thanks for the more complete explanation – I know how not to make those errors on my site or how to fix them – but not so good at the fine print for others

    #1338579

    auxclass
    Member

    You be welcome & good luck

    #1338580

    dutecnic
    Member

    Both were great. Thanks guys. Now I’m going for another question, but I’ll open another forum… related to an export issue I’m having…

    #1338586

    justpi
    Member

    You’re welcome!

    “Didn’t need to upload them again, just to update their URLs on MEDIA.” That’s what I would have done too, but I didn’t know if you’re comfortable with this sort of thing so I suggested the ‘safer’ way…

    #1338589

    dutecnic
    Member

    @justpi, yes, you did the right thing. I was not aware just that if changing the slug, the attachments page is not automatically updated. But now I know and I appreciate your prompt support.

    Thanks.

The topic ‘Problem opening .PNG files’ is closed to new replies.