Jump to content

Allow script only to GET Pictures


dani33l_87

Recommended Posts

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 by dani33l_87
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.