Slideshow working partially

More
6 years 4 months ago - 6 years 4 months ago #10922 by Hielkio
Slideshow working partially was created by Hielkio
Hi folks,

I'm running into a strange thing here ..
Only one room is showing images in the slideshow, but not quitte well :dry:



This room (the semi-working one) only shows 2 out of 3 images in the slideshow.
I checked for JS errors, but couldn't find any for this situation.

You can check the issue here:
Link

Someone else had this problem also maybe? or someone who's such a genius that he / she sees the problem here? B)

Thank you very much in advance for thinking with me :)

[Update] I removed all the images, re-uploaded them (made the filenames better readable) and regenerated thumbnails. Now none of the sliders work ;)

When I checked the System page in the admin panel of Solidres, I noticed an error:


After doing a quick search, I found this in /administrator/components/com_solidres/views/system/tmpl
					foreach ($templates as $template) :
						$templateName = basename($template);
						foreach ($overrideCandidates as $candidate) :
							$candidatePath = $template . '/html/' . $candidate;
							if (JFolder::exists($candidatePath)) :
								$overridePaths[$templateName][] = $candidatePath;
							endif;
						endforeach;
						// $undoPath = JFolder::folders($template . '/html', '[a-zA-Z0-9_]+\-SR\_disabled', true, true); - Original line
						$undoPath = JFolder::folders($template . '/', '[a-zA-Z0-9_]+\-SR\_disabled', true, true); - Edited line
						if($undoPath && count($undoPath) > 0):
							$undoPaths[$templateName] = $undoPath;
                        endif;
					endforeach;

Bug, or missing content in the install package maybe?
[/update]
Last edit: 6 years 4 months ago by Hielkio. Reason: Tried something else myself

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #10924 by Hielkio
Replied by Hielkio on topic Slideshow working partially
Finally I found the cause :) But it's not simple for me to solve though ..
The problem is that the generated (legacy) thumbnails get the resolution in their filename (i.e. solidreslogo_75x75.jpg) ..

Because of this fact, Adblock(plus) blocks these images. When I remove the legacy thumbs (in the root of the thumbnails folder), its using the created files in the folders /thumbnails/1/ and /thumbnails/2/ which are not containing the resolution in the filename. After removing the files in the root, everything works fine, but this needs to be fixed in my opinion :) There are a lot of people using Adblock(plus) nowadays ..

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #10940 by solidres
Replied by solidres on topic Slideshow working partially
Hi,

You can change the thumbnail size in Solidres Options - Media to bypass Adblock.

After you change the thumbnail size, you can re-generate the thumbnails in Solidres System Info page.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?