Automatically adding text below all images
Hi Flynn, seems you are in demand. :)
I'd like to hire you as soon as possible for a quick mod to my site. I own www.myfacegraphics.com and have installed your theme. Basically what I am trying to do is emulate: www.myspacegraphics.co.uk in terms of functionality. I need to have it so that the "embed code" for each image is displayed beneath each image. I have been looking at the www.gigya.com widget integration, without success - it's handy because it can post images/content to a variety of social networking websites. Are you available to help? Possibly getting the gigya working, or simply getting it so that the embed code is automatically added to each blog post. I have spent all day todaay working with nextgen image gallery. Quite like showing things one after the other in a single post, as per here: http://myfacegraphics.com/testing-gallery/ but need to get the code beneath each one (Id like to be able to make sure the right "alt" and description is used for marketing purposes). As it currently stands if you click an imageit brings up a texarea with the embed code in it, although its been manually added... so yes... what I really need is to be able to add an image to a post, and then use a function which knows the image, knows its location and sets it into an embed code of its own under the image. Im also going to add adsense under each one too, or at least per page.. might be good for another discussion elsewhere. so yes Id like to have it for all images on all posts (but a check box to cancel it from time to time would be useful, in case I want to write a regular blog - heck!) :p) and if you can have an "alt/description" added so that can be added somehow. Thanks flynn shaun Thanks Shaun |
Add this to the bottom of functions.php without causing blank lines or spaces:
PHP Code:
|
Hiya flynn it generated an error: http://www.myfacegraphics.com/
I got to the file in the wp_includes folder went to the very last ?> then hit the return key to get to the next line and pasted in that code in its entirety EDIT: I took it out of there and then went and added it to the functions.php inside the atahualpa folder and got a similar error message.. thanks shaun |
Sorry I left a piece of code in there, with which I was trying something.
I updated the code above with my working version. Please try again. |
Thanks.. almost there.. http://myfacegraphics.com/category/myspace-tv-cartoons/
when i try to click to copy the text it brings up the image in a new window when i try to cl;ikck it again it brings me right to the gif file seems the textarea is clickable unless im doing something wrong? Thanks again! shaun |
No but I mentioned that the images shouldn't be linked. So you'll have them all linked? Or just a few? What about captions? Linked with captions? Each of these four versions needs a separate piece of code. I'll update this tomorrow, please feel free to remind me if I don't.
|
Hi Flynn... no need I forgot to un-link :-)
After doing this it seems at the moment to work just fine - many thanks! I'll be sure to come back to you if I need any more revisions done to my site in general (most likely :p) Take care, thanks for working on my site. Much appreciated Shaun |
All times are GMT -6. The time now is 09:38 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.