WordPress.org

Ready to get started?Download WordPress

Forums

Create a Image Page for Opening Large Images (5 posts)

  1. sportech
    Member
    Posted 6 years ago #

    Hopefully some of you WordPress guru's here can get this problem solved quickly and rather easily. I'm not sure if there is a plugin to do this or if it's a matter of creating a new page with some code.

    When a viewer clicks on an image thumbnail in a post, I want the large original image to display on it's own page within my site. I've been calling this an Image Landing page but can't find any info on Google using that search. I also have not been able to find anything on here.

    Is this doable and is it recommended? I'm trying to avoid the image loading on a crappy plain white page and I also do not feel like setting up lightbox. Basically it's the same idea as having google search results display on a page in your blog like in this example.

    Thanks in advance guys!!

    Jon
    SporTech Matter
    http://www.sportech.info

  2. sportech
    Member
    Posted 6 years ago #

    Anyone? Thanks!

  3. harknell
    Member
    Posted 6 years ago #

    You'll probably need to use some type of plugin to do this or write up something. There isn't going to be a basic html way of doing this. It's a bit overkill, but my AWSOM Pixgallery plugin has an option to do what you want if the thumbnail is clicked (open in new full wordpress page with large image).

  4. Chris_K
    Member
    Posted 6 years ago #

    When a viewer clicks on an image thumbnail in a post, I want the large original image to display on it's own page within my site.

    Good question. I've never tried it, but up to this point I've been assuming what you're after is built in.

    After uploading the image, you have 3 options for "Link to": File / Page / None.

    If you choose Page, won't you get what you're after? From Template_Hierarchy, it seems that the image would be displayed either on attachment.php or if that doesn't exist then index.php.

    A bit more on that can be found here: http://codex.wordpress.org/Using_Image_and_File_Attachments#Inserting_Files

    Hope that helps.

  5. sportech
    Member
    Posted 6 years ago #

    I decided to go with a lightbox solution as this didn't work out the way I would have liked it. Thanks again for everyones help!

Topic Closed

This topic has been closed to new replies.

About this Topic