Changing [gallery] to Individual Images

Posted in: Newspaper
Post count: 263

Hey, so i’m trying to change the site up and instead of having the ‘gallery’ I want to put them as individual images.

Is there a way, instead of having the gallery as [gallery columns="1" ids="17464,17372,17072,17025,16957,16959,16958,16932,16880,16877,16875,16770,16727,16731,16704"]

to create it as individual images like:
[image id=”17464″]
[image id=”17372″]
etc.

*Instead of having to do the ‘Insert Media’ individually all over again?

Post count: 6600

Hi,

You can edit the gallery and add it like this: http://screencast.com/t/zVyDdtKrG
Then the images will show like this: http://demo.tagdiv.com/newspaper/best-protest-signs-advertisement-i-like-protest/

Hope this helps!
Thanks

Post count: 263

Hey Lucian, nah I wasn’t trying to do that. I am saying that in all my posts I have galleries but now I no longer want ‘galleries’ but I want them shown as individual images (like in admin when clicking an image and clicking insert media). But, I don’t want to have to search thousands of images when the ID is right there. I was seeing if there was any way at all to use the current id number of those images that are in the gallery already? [gallery columns="1" ids="17464,17372,17072,17025,16957,16959,16958,16932,16880,16877,16875,16770,16727,16731,16704"] – – example if it were in code <img src="17464" />… but obviously that’s not how it would go. Hope im making sense…

Post count: 6600

Hi,

I’m not sure you can do it just like that. I have tested this and got this result: http://screencast.com/t/wIDfwm72NX16
You can try it or search the web on how you can achieve that or something similar or maybe for a plugin if there is one. I have searched and found this: http://www.wprecipes.com/wordpress-shortcode-automatically-insert-image-by-file-name
Didn’t tested, if you want you can try it.

Thanks for the message!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.