HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Is there a way to resize image server side before they download?
Hi @R_J - do you mind if I ask you a question, excuse by lack of knowledge. I looked at the plugin's code too, and the search line seems to be: preg_match('#\<img.+?src="([^"]*).+?\>#s', $Sender->EventArguments['Discussion']->Body, $images); On Line 29. All those symbols after src= are super confusing and weird, but I… -
Re: Is there a way to resize image server side before they download?
The original question was dealing with that plugin which shows a preview for images in a discussion, nor? Looking at the source I see two problems: 1) it does a regex search through the Discussion Body for img-tags. Judging by the quick look I have taken, I'd say it will only work with html, not with BBCode or Markdown and…
2 results