rankdominator
Junior Member
- Dec 18, 2009
- 120
- 68
Hi,
If anybody can assist that would be appreciated.
Ive got some text which Im trying to parse and strip out the images, but I do not want to strip out images that are only height=1 pixel or width =1 pixel
This is the code at the moment
and it strips out everything - i mean all images. I only want images greater than a certain size
Im not an expert on preg_match - thats for sure.
If anybody can assist that would be appreciated.
Ive got some text which Im trying to parse and strip out the images, but I do not want to strip out images that are only height=1 pixel or width =1 pixel
This is the code at the moment
PHP:
preg_match_all('/<img(.+?)src=\"(.+?)\"(.*?)>/', $text, $out);
Im not an expert on preg_match - thats for sure.