Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

photos not loading; wrong path? #25

Open
mustberain opened this issue Apr 17, 2016 · 3 comments
Open

photos not loading; wrong path? #25

mustberain opened this issue Apr 17, 2016 · 3 comments

Comments

@mustberain
Copy link

Hi Phil,

Theme looks great but I have trouble getting it to work. New to piwigo, maybe this is the main reason I can not get it to work.

thumb/images are loaded with this url (checked network in inspect element):
/i?/upload/2016/04/17/20160417122249-fec5701c-cu_e260x180.jpg&ajaxload=true

but i get server errors all over the place. In the demo i see this path:
/_data/i/upload/2015/08/22/20150822145205-cd015b21-cu_e260x180.jpg

The '_data' makes all the difference i guess. Can you please tell me why my urls are without the _data?

I did a clean install of piwigo 2.8, downloaded the theme and activated. No strange plugins or other modifications.

Thanks!

@Philio
Copy link
Owner

Philio commented Apr 17, 2016

I have never actually tried it with a clean install, but not sure that would really make any difference as there aren't any file locations hard coded into the theme (except perhaps files that are theme specific).

I'll see if I can reproduce the issue on a VM.

@mustberain
Copy link
Author

Thank you. Some progress, found my images are different in filename. if i use the default theme the pictures are working and linking to filename:
20160417144047-bafa908e-th.jpg

if I use bootstrap theme the filename of the picture it is looking for:
20160417144047-bafa908e-cu_e260x180.jpg

Which is an image that doesnt exist..

@Philio
Copy link
Owner

Philio commented Apr 17, 2016

That's fine and shouldn't cause any issues. The theme uses custom thumbnail
generation for uniform sized thumbs.

The last 2 letters are key here, th = thumbnail, cu = custom followed by
the dimensions.
On 17 Apr 2016 1:57 p.m., "mustberain" [email protected] wrote:

Thank you. Some progress, found my images are different in filename. if i
use the default theme the pictures are working and linking to filename:
20160417144047-bafa908e-th.jpg

if I use bootstrap theme the filename of the picture it is looking for:
20160417144047-bafa908e-cu_e260x180.jpg

Which is an image that doesnt exist..


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#25 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants