Picture showing in Gallery but not Gallery 2

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: mtnviewmark, MtnViewJohn, chris

flembobs
Posts: 39
Joined: Tue Oct 09, 2012 3:00 pm

Re: Picture showing in Gallery but not Gallery 2

Post by flembobs » Tue Jan 28, 2020 6:24 am

Sorry to sound like a broken record - but another one was lost:

https://www.contextfreeart.org/gallery2 ... esign/4123

flembobs
Posts: 39
Joined: Tue Oct 09, 2012 3:00 pm

Re: Picture showing in Gallery but not Gallery 2

Post by flembobs » Tue Jan 28, 2020 6:25 am

If I click 'view more' then it appears in that list. Just not on the main gallery.

Could it simply be I'm looking at a cached version of the page?

User avatar
MtnViewJohn
Site Admin
Posts: 863
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Picture showing in Gallery but not Gallery 2

Post by MtnViewJohn » Wed Feb 05, 2020 9:01 pm

There is something weird going on in the Python backend when is queries the database of uploaded designs. The Python code queries the database and gets back strange results. If I hand enter the exact same SQL query into the Mysql command-line tool I get the expected results.

I think the issue is in the Python libraries, not my code. I will try updating to the latest versions to see if it helps. I may have to redo the back-end in PHP. The old PHP-based gallery is rock solid, it just doesn't have the modern look.

flembobs
Posts: 39
Joined: Tue Oct 09, 2012 3:00 pm

Re: Picture showing in Gallery but not Gallery 2

Post by flembobs » Tue Feb 11, 2020 9:25 am

Okay no problemo. Thanks for your dev time on the site.

Maybe it's a longshot but I know I had some problems with 'perfectly normal strings' in Python before.

In the end it came down to the encoding - the library I was using would break down with no helpful error message if the input file format wasn't UTF-8.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests