Need help? Check out our Support site, then


Newbie Question - Determining Gallery Shortcode

  1. My blog is hosted on wordpress.com and I am trying to put multiple galleries on a single page by using the option of "include=" with the gallery tag. The problem I am having is that it appears in order to do this I need to know the shortcode of the image to go with the "include=" option and I can't figure out how to determine that. From the things I have read, you used to be able to get this from doing a mouse over on the image in the Media library before the image is published but that does not appear to work any longer. I have also read where there are plugins to get the info but obviously, I can't use those on my hosted blog.

    The blog I need help with is phydeauxman.wordpress.com.

  2. panaghiotisadam
    Member

    You need he image ID number. Mouse over and look at the progress/status bar of your browser. Or mouse over, click Edit, look at the address bar of the browser.

  3. Tired that...is does not display the image ID. I thought I read some where that that functionality was removed from the new version. Either way...I can't get it to work.

  4. Perhaps this will help:

    http://agallerydemo.wordpress.com/2011/04/05/this-is-a-test-blog/how2findimageid/

    Make sure the status bar is enabled in your browser.

  5. Awesome...that was the trick. What I was doing wrong was from within the Page/Post editing window, clicking on Upload/Insert and then looking at the image properties from the gallery tab. I guess this used to work because that is the original directions I found but it does not appear to work any longer. Anyway...thanks for setting me straight.

  6. panaghiotisadam
    Member

    You read wrong. How could it possibly be so when the IDs are needed for the include/exclude option?

    If you go to Media>Library and click Edit under an image title, the URL in the address bar of your browser will be like that:
    https://yourblog.wordpress.com/wp-admin/media.php?attachment_id=123456&action=edit
    You can also find the ID numbers of images inserted in published posts by checking the sourcecode of your actual blog (selecting View Source from the View menu of the browser). For example, the IDs of your three "Lift" images are 91, 92, 93.

    What browser and version are you using?
    (And why do you want multiple galleries? you can insert groups of independent images instead.)

  7. @phydeauxman - you're welcome. I don't ever remember seeing the image ID in the Image Uploader itself (maybe I didn't look for it there), but I just tried it and, by golly, you're right. Regardless, the ID number should be the same.

    @Panos- No worries. :)

Topic Closed

This topic has been closed to new replies.

About this Topic