GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Need help with a function code (https://gfy.com/showthread.php?t=1129737)

GameForAdult 12-28-2013 07:37 AM

Need help with a function code
 
Anybody here who can help me out with this? I'm working on a new layout but stuck with one code.

I need to change the function so it includes this code
Code:

<img class="lazy" data-original="img/example.jpg" width="190" height="140">
into this function
Code:

$thumb = "<img src=\"$thumb\" $rotate_thumbs id=\"$prefix-".get_the_ID()."\" alt=\"".esc_attr($title)."\">";
Thanks

dunhill 12-28-2013 12:50 PM

PHP Code:



$thumb 
'<img class=lazy data-original="'.$thumb.'" src="pixel.gif?" width="190" height="140"  '.$rotate_thumbs.' id="'.$prefix.'-'.get_the_ID().'" alt="'.esc_attr($title).'">'


GameForAdult 12-28-2013 09:47 PM

It was not working but it helps me to get it working, all good now

Thanks


All times are GMT -7. The time now is 03:05 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc