I have a question
When i have a string with text in it and a few pictures
for example something like this:
hello this is a picture < img src......> and this is another picture <im....>
how can i make a function that checks eacht image for its original size and if the size is greater than a predefined size change the size by adding widht=....
this should be done for each image seperatly
I do know how to get the image size with GD but how can i select each img statement in the string and change it ???