zurev — 2010-12-14T05:36:32-05:00 — #1
I was wondering if there was a way to do this rather than make my own function, I have a tag like
and I need to add attributes to it, sometimes more than one, like height=x and width=x sometimes, but not others.
So a tag in that format is stored in my database column, and I need to modify them on the fly, any ideas?
raju_gautam — 2010-12-14T05:44:15-05:00 — #2
zurev — 2010-12-14T05:53:45-05:00 — #3
Is that much necessary? I'm not looking to create a new document or anything, simply take an image tag and add a few attributes, thought it seemed more like string manipulation.
zurev — 2010-12-14T07:55:03-05:00 — #4
On second thought, I just decided to delete all records and change up how I store the image url, storing it as a plain url so I can later format it however I want it.