Difference between revisions of "Common Photo Related Issues"

(Created page with "===Gallery view is broken=== '''Symptom:''' Gallery keeps on loading with showing the photo. File:Reloading.jpg '''Causes :''' # PHP ran out of memory during image-resiz...")
 
Line 1: Line 1:
===Gallery view is broken===
+
==Gallery View is Broken==
'''Symptom:''' Gallery keeps on loading with showing the photo.
+
  
[[File:Reloading.jpg]]
+
'''Symptom:''' Gallery keeps on loading with showing the photo.<br/>
  
'''Causes :'''
+
[[File:Reloading.jpg]]<br/><br/>
# PHP ran out of memory during image-resizing for viewing. Check your php.ini memory_limit and increase it accordingly.
+
# The actual file is missing due to upload/permission issue.
+
# Third party plugin conflict
+
  
===Debugging Procedure===
+
'''Causes :'''<br/>
[[File:PhotoDebug1.jpg]]
+
PHP ran out of memory during image-resizing for viewing. Check your php.ini memory_limit and increase it accordingly.
# We need to know whether the actual image exists or not.
+
The actual file is missing due to upload/permission issue.
# Right Click '''on the thumb'''> View Image (in Firefox)
+
Third party plugin conflict
# Take note of the actual URL for the thumb.
+
 
# You will notice that the URL of the thumb is (example): Thumb: images/photos/62/thumb_e9c8787197c151c42b599543.jpg
+
'''Debugging Procedure:'''<br/>
# The URL of the actual image would be (example) : Actual : images/originalphotos/62/e9c8787197c151c42b599543.jpg
+
 
# photos -> '''original'''photos
+
[[File:PhotoDebug1.jpg]]<br/><br/>
# '''thumb'''_e9c8787197c151c42b599543.jpg -> e9c8787197c151c42b599543.jpg
+
 
# Once you know the generated file name, head straight to the original photo, which is www.yoursite.com/images/originalphotos/62/e9c8787197c151c42b599543.jpg
+
We need to know whether the actual image exists or not.
# If you manage to view both original photos and its thumb, then most likely your issue lies on insufficient memory_limit.
+
Right Click '''on the thumb'''> View Image (in Firefox).
# If you are not able to view any or both original photos and its thumb, most likely your issue lies on incorrect directory permission.
+
Take note of the actual URL for the thumb.
 +
You will notice that the URL of the thumb is (example): Thumb: images/photos/62/thumb_e9c8787197c151c42b599543.jpg
 +
The URL of the actual image would be (example): Actual : images/originalphotos/62/e9c8787197c151c42b599543.jpg
 +
photos -> '''original'''photos
 +
'''thumb'''_e9c8787197c151c42b599543.jpg -> e9c8787197c151c42b599543.jpg
 +
Once you know the generated file name, head straight to the original photo, which is www.yoursite.com/images/originalphotos/62/e9c8787197c151c42b599543.jpg
 +
If you manage to view both original photos and its thumb, then most likely your issue lies in the insufficient memory_limit.
 +
If you are unable to view any or both original photos and its thumb, most likely your issue lies in incorrect directory permission.

Revision as of 10:18, 8 March 2013

Gallery View is Broken

Symptom: Gallery keeps on loading with showing the photo.

Reloading.jpg

Causes :

PHP ran out of memory during image-resizing for viewing. Check your php.ini memory_limit and increase it accordingly.
The actual file is missing due to upload/permission issue.
Third party plugin conflict

Debugging Procedure:

PhotoDebug1.jpg

We need to know whether the actual image exists or not.
Right Click on the thumb> View Image (in Firefox).
Take note of the actual URL for the thumb.
You will notice that the URL of the thumb is (example): Thumb: images/photos/62/thumb_e9c8787197c151c42b599543.jpg
The URL of the actual image would be (example): Actual : images/originalphotos/62/e9c8787197c151c42b599543.jpg
photos -> originalphotos
thumb_e9c8787197c151c42b599543.jpg -> e9c8787197c151c42b599543.jpg
Once you know the generated file name, head straight to the original photo, which is www.yoursite.com/images/originalphotos/62/e9c8787197c151c42b599543.jpg
If you manage to view both original photos and its thumb, then most likely your issue lies in the insufficient memory_limit.
If you are unable to view any or both original photos and its thumb, most likely your issue lies in incorrect directory permission.