Jump to content

Adding text to multiple images


melles

Recommended Posts

Hi Guys

 

Adding text to an image is relatively easy but I need to add text to a number of images on the same page. Is the only way to add the text and save so that I can reload when I need to. The problem arises because there are a number of images (within link tags) which have descriptive text available and a number which don't. I need to add the text "Text available" to those that do. It's driving me mad. I have tried calling a piece of php code as the src parameter of the image tag but this just locks up. Any help or pointers would be gratefully received.

Link to comment
Share on other sites

Thanks for the reply dalecosp. I'm looking at applying a reversed legend actually on the images. All the help on this (and GD) seems to be geared towards a single image due to the header output for image/png etc. I have a page of images all sourced from actual saved images. I can't seem to get my head around handling more than a single image. I have worked around this by using my php code to create the main image as a background and then using the revered text as another image as a second background. I would, however, prefer a more browser free solution.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.