- Posts: 4
 
- Home
 - Forum
 - Community Forum
 - Questions
 - Stripe plugins
 
Slideshow working partially
- Hielkio
 - Topic Author
 - Offline
 
		Less
		More
		
			
	
		
			
	
						7 years 10 months ago		 -  7 years 10 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
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?
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
Bug, or missing content in the install package maybe?
[/update]
					I'm running into a strange thing here ..
Only one room is showing images in the slideshow, but not quitte well
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?
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: 7 years 10 months ago  by Hielkio.		Reason: Tried something else myself	
			Please Log in or Create an account to join the conversation.
- Hielkio
 - Topic Author
 - Offline
 
		Less
		More
		
			
	
		- Posts: 4
 
			
	
						7 years 10 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 ..			
					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
Please Log in or Create an account to join the conversation.
- solidres
 - 
				
											 - Away
 
		Less
		More
		
			
	
		- Posts: 3001
 
			
	
						7 years 10 months ago				#10940
		by solidres
	
	
		
			
					
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
					
	
			
			 		
													
	
				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,
							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,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
		Moderators: solidres