Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function to add timestamp to image?
#3
(2013-04-04, 23:33:37)shawn_a Wrote: You are probably better off doing this via apache or your webserver.

The editor does not support code.

Thanks for the reply. Just to clarify, I didn't mean that I need it to be done within the editor itself.

I know mvlcek wrote a very handy plugin to remove the paragraph tags from images (that have been inserted via the editor) when the page loads, I was just wondering whether a similar plugin could be fashioned to add a timestamp after the image's file extension. The reason I asked is that I am not overly familiar with preg_replace and the like.

I don't want to prevent all images used in the theme from caching (which is what I suspect would happen using Apache or similar), just these ones being inserted by the user via the editor.

Cheers!
Reply


Messages In This Thread
Function to add timestamp to image? - by trmash - 2013-04-04, 15:52:26
RE: Function to add timestamp to image? - by trmash - 2013-04-05, 08:28:23



Users browsing this thread: 2 Guest(s)