dani33l_87 Posted June 3, 2014 Share Posted June 3, 2014 (edited) Hi, I have a crwal engine and every time when I try to take a picture from a specific website, it also take some bullshit from superfish, creating iframe and div class, that I can`t deleted using jquery after my page is load. I was looking in my code and I found out that the only thing that trigger that is the <img src="<?php h(getPicture($itemRow['site'], if I remove 'site', I don`t see any other superfish code but also don`t see the picture. What can I do to take only the .jpg picture , without any of the other crap? <?php for ($i = 0; $i < count($itemRow['pics']); $i++) { ?> <a target="_blank" href="<?php h(getPicture($itemRow['site'], $itemRow['pics'][$i])); ?>"> <img src="<?php h(getPicture($itemRow['site'], $itemRow['pics'][$i])); ?>" class="pic<?php if ($i == 0) e(" active"); ?>" /> </a> <?php } ? Edited June 3, 2014 by dani33l_87 Link to comment https://forums.phpfreaks.com/topic/288958-allow-script-only-to-get-pictures/ Share on other sites More sharing options...
trq Posted June 3, 2014 Share Posted June 3, 2014 Your question is as clear as mud. Link to comment https://forums.phpfreaks.com/topic/288958-allow-script-only-to-get-pictures/#findComment-1481746 Share on other sites More sharing options...
Ch0cu3r Posted June 3, 2014 Share Posted June 3, 2014 Topic locked. You already have a topic open with the same problem here. http://forums.phpfreaks.com/topic/288870-get-rid-of-superfish-div-after-php-execution/?do=findComment&comment=1481321 Link to comment https://forums.phpfreaks.com/topic/288958-allow-script-only-to-get-pictures/#findComment-1481752 Share on other sites More sharing options...
Recommended Posts