-
AuthorPosts
-
activha Friend
activha
- Join date:
- July 2012
- Posts:
- 114
- Downloads:
- 17
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
July 30, 2012 at 5:24 pm #179512Well I have a problem with lazyload and k2, it does not create images in cache for K2 images and then all articles are loaded without the blank image for images.
Of course all permissions are ok and folders set
Cannot see where the problem is ?
Does anyone has same problem with lazyload ?
Thanks for an idea
BTW for mods :
If you have a look at the website please do not change anything as we are in dev, just let me know where the problem could be and we’ll correct it, thanks 🙂Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 31, 2012 at 9:57 am #462701Hi activha,
Could you please explain me more details ? how to replicate the problem ? Do you mean the lazyload is not working for k2 images that inserted from Image tag ? I checked and were seeing that all are working fine 🙂
activha Friendactivha
- Join date:
- July 2012
- Posts:
- 114
- Downloads:
- 17
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
August 1, 2012 at 8:55 am #462833What I mean is that when loading, the K2 elements load only after their image is loaded, this is not the same behavior as in the demo site where the K2 element is loaded with a blank image, then the image is loaded.
Next, there is no elements at all in the lazyload cache, which means that there are no blank images created by lazy load. So the user experience is not the same as they can left the page during the seconds while all the next images are loaded and the next K2 elements are shown.
Further in the source code there is no mention of lazyload classes or data-original in the img tag
Hope it is clear 🙁
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
August 2, 2012 at 2:09 am #462900<em>@activha 332589 wrote:</em><blockquote>What I mean is that when loading, the K2 elements load only after their image is loaded, this is not the same behavior as in the demo site where the K2 element is loaded with a blank image, then the image is loaded.
Next, there is no elements at all in the lazyload cache, which means that there are no blank images created by lazy load. So the user experience is not the same as they can left the page during the seconds while all the next images are loaded and the next K2 elements are shown.
Further in the source code there is no mention of lazyload classes or data-original in the img tag
Hope it is clear :-(</blockquote>
Okay actinha,
will need further checking into the code to detect the problem , Could you please update the info with the correct FTP Info ?
activha Friendactivha
- Join date:
- July 2012
- Posts:
- 114
- Downloads:
- 17
- Uploads:
- 6
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
August 2, 2012 at 8:28 am #462957<em>@Sherlock Holmes 332683 wrote:</em><blockquote>Okay actinha,
will need further checking into the code to detect the problem , Could you please update the info with the correct FTP Info ?</blockquote>
We only have ssh with key access on this AWS machine, could you use extplorer ? or tell me where to send private access key ?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
August 3, 2012 at 4:30 am #463026Hi activha,
you could try as follow to resolve the problem
open the file of pluginssystemjalazyloadjalazyload.php you look for this line of code
[PHP] $img_path = JPATH_ROOT.’/’.substr($src, strlen(JURI::base()));[/PHP]And insert right below it this line of code
[PHP] if(strrpos($img_path,”?”)) $img_path = substr($img_path,0,strrpos($img_path,”?t”));[/PHP]Let me know if that still does not help !
1 user says Thank You to Sherlock for this useful post
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by activha 12 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum