Coder Social home page Coder Social logo

Comments (6)

bpatrik avatar bpatrik commented on June 3, 2024

Can you provide a bit more info? Its hard to tell whats up from this description.

from pigallery2.

KarstenHahn avatar KarstenHahn commented on June 3, 2024

Sure. I'll try to give you some more information:

Version: newest docker images (compose)
Image: https://github.com/bpatrik/pigallery2/blob/master/docker/docker-compose/pigallery2-only/docker-compose.yml

I want to provide journey-photos seperated in folders, for example "2023-08 Baltikum". I've copied

  • several images into it
  • an index.md file according to the sample
<!-- @pg-date 2023-08-26 -->
#Fahrt zum Ort Blabla
<!-- @pg-date 2023-08-27 -->
#Fahrt zum Ort Blubb

The "Blog" function doesn't work if the images are in the folder as described. If I move the content of the folder into the root folder (/...../pigallery2/images/) the blog function is working as expected.

Can you give me a hint? Or can you recreate the problem?

Best greetings, Karsten

from pigallery2.

kongeor avatar kongeor commented on June 3, 2024

Thank you all the effort on this amazing project.

I've ran onto the same issue while trying things and I've noticed that this was only happening when I was running this in docker locally and accessing via localhost. When I deployed this to a server (behind an nginx) everything was functioning normally. I've also noticed that Sorting/Filtering options where more rich on the server.

Thought of sharing this in case it helps.

from pigallery2.

bpatrik avatar bpatrik commented on June 3, 2024

@KarstenHahn Can you explain to me what behavior is expected and what you see?

@kongeor I assume, when you deployed to the server, the install pulled a newer version.

from pigallery2.

KarstenHahn avatar KarstenHahn commented on June 3, 2024

Hi,
sry for the delay ... I've set-up a test-instance (without any reverse proxy):

http://test.hahn.photos

As you can see, in the root, the behavior is perfect. One test image from 2022 and after that some pictures with *.md-text.
If you enter the sub-dir the same images appeares without the text .... the *.md-file is a copy of that in the root...

I've started the docker container in cli-mode, no errors appears

I would be very grateful if you would take a look at this. Regardless of this small problem, this is the ideal gallery for me. Thank you very much for that!

from pigallery2.

KarstenHahn avatar KarstenHahn commented on June 3, 2024

I've opened the test gallery for everyone. Not a good idea :-) I've set a password for the gallery now. Please contact me, if you want to see the problem "live"...

Here are screenshots of the gallery:
grafik

and

grafik

Here is the index.md file:

Test-Reise in den Garten
<!-- @pg-date 2024-05-28 -->
Blumen
<!-- @pg-date 2024-05-29 -->
Wolken

from pigallery2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.