Coder Social home page Coder Social logo

Suggestions about piwigo-flutter-app HOT 9 OPEN

piwigo avatar piwigo commented on June 28, 2024 1
Suggestions

from piwigo-flutter-app.

Comments (9)

mistic100 avatar mistic100 commented on June 28, 2024 1

this album for example https://galerie.strangeplanet.fr/index.php?/category/190

description is

<!--more-->
<style>
.additional_info { max-width:9999px; }
.additional_info p { text-align:center; }
.additional_info iframe { margin:0px auto; display:block; }
</style>

<iframe src="https://www.google.com/maps/d/embed?mid=1SrEIZqw7KKTzkeWiXRC3ElNLN5-CFGpj&z=9" width="800" height="480"></iframe>

from piwigo-flutter-app.

mistic100 avatar mistic100 commented on June 28, 2024 1

Another (obvious ?) feature : ability to share an album or a picture, this would open the system share drawer with the url to the album/picture.
For pictures you could also ask if we want to share to link or the image itself, allowing to directly send the file by email, or post on reddit for example.

from piwigo-flutter-app.

remi-martin avatar remi-martin commented on June 28, 2024

Thanks for those suggestions, I'll add them to my todo list

from piwigo-flutter-app.

remi-martin avatar remi-martin commented on June 28, 2024

@mistic100 Can you give me your Piwigo server address to try out the "parsing/ignoring HTML description and ExtendedDescription" bug ?

  • I changed default image format to medium in albums view (was square). I'll add an option in the settings to change the default image format and download size in a future version (Alpha I hope).
  • The image multi-select in albums is already handled but it has no action.
    • Admins would be able to delete, move or edit them.
    • All users would be able to download (and share) the images.
  • Video (and other file types) support is already a requested feature.
  • Having multiple servers is not possible yet on IOS, so it's not a priority.

from piwigo-flutter-app.

mistic100 avatar mistic100 commented on June 28, 2024

Small bump for HTML support/cleaning in descriptions :)

from piwigo-flutter-app.

remi-martin avatar remi-martin commented on June 28, 2024

Hi, this is tricky because the API sends this :

.additional_info { max-width:9999px; }
.additional_info p { text-align:center; }
.additional_info iframe { margin:0px auto; display:block; }

Instead of :

<!--more-->
<style>
.additional_info { max-width:9999px; }
.additional_info p { text-align:center; }
.additional_info iframe { margin:0px auto; display:block; }
</style>

<iframe src="https://www.google.com/maps/d/embed?mid=1SrEIZqw7KKTzkeWiXRC3ElNLN5-CFGpj&z=9" width="800" height="480"></iframe>

It seams markups are removed from the data returned. So there is no easy way to know if album's comments contains HTML...

from piwigo-flutter-app.

remi-martin avatar remi-martin commented on June 28, 2024

I made a check if the album comment contains HTML or CSS. In this case, the description won't be displayed...

from piwigo-flutter-app.

remi-martin avatar remi-martin commented on June 28, 2024

I talked to de server development team and they think the issue is from server side. Piwigo should remove the content of <style> and <script> markups.

So the dscription will stay as it is today, untill the server fixes the issue.

from piwigo-flutter-app.

mistic100 avatar mistic100 commented on June 28, 2024

Beside support of Extended Description, basic HTML descriptions are shown has it, and IMHO should be cleaned.

example : https://galerie.strangeplanet.fr/picture.php?/7470/category/200-impressions_3d

Screenshot_2023-08-04-14-23-27-623_com piwigo piwigo_ng

from piwigo-flutter-app.

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.