1. Forum
    1. Themen Übersicht
  2. Hilfe
  3. Forenregeln
  4. Mitglieder
    1. Team
    2. Mitgliedersuche
  5. Webseite
  6. Archiv
  • Anmelden
  • Registrieren
  • Suche

Neuigkeiten

Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche

Neuigkeiten

Letzte Beiträge
  1. JoomGallery 3.x JUX für Joomla! 3
  2. Alle Beiträge zur JoomGallery 3.x JUX
  3. Installation / Update / Migration - JG 3.x

GD2 removed in PHP 8.0

  • dan40
  • 18. Juni 2021 00:55
  • Erledigt
1. offizieller Beitrag
  • dan40
    Benutzer
    Reaktionen
    1
    • 18. Juni 2021 00:55
    • #1

    Hi, I just upgraded to PHP 8.0 and can't upload any images to my gallery because GD2 no longer works. In v8.0, PHP Has renamed the extension file to simply, "php_gd.dll". I tried switching the image processor back to GD, but JoomGallery thinks that's GD1 and that doesn't work anymore either. Now I think I need to get ImageMagick installed if I can't use GD2 anymore.

    Will there be a patch or a fix for this soon?

    • Zitieren
  • dan40
    Benutzer
    Reaktionen
    1
    • 18. Juni 2021 01:04
    • #2

    Ok, ImageMagick gives me this:

    g85001.jpg 237.9kB No file has been uploaded!

    ___Debug___

    Filename: g85001.jpg

    Upload complete (File-Size: 237.89 KB)

    Resizing to height using ImageMagick...

    ERROR: Server problem. The following statement could not be executed in the php code: 'exec(convert -strip -resize "133x99" -quality "100" -unsharp "3.5x1.2+1.0+0.10" "J:\gallery\images\joomgallery\originals\gallery_85_2\g85001_20210617_1630637610.jpg" "J:\gallery\images\joomgallery\thumbnails\gallery_85_2\g85001_20210617_1630637610.jpg");'

    Error creating thumbnail 'J:\gallery\images\joomgallery\thumbnails\gallery_85_2\g85001_20210617_1630637610.jpg'

    Rollback: Deletion of original image successful


    Not sure what to do now. :(

    • Zitieren
  • dan40
    Benutzer
    Reaktionen
    1
    • 18. Juni 2021 01:24
    • #3

    Ok, wait, I think it's working now. In PHP.ini (for 8.0), in the [Extensions] area, it had extension=php_gd2.dll. I just changed that to php_gd.dll and reloaded IIS, and it seems to be working fine now.

    Sorry for the scare! :/

    Einmal editiert, zuletzt von dan40 (18. Juni 2021 04:17)

    • Zitieren
  • dan40
    Benutzer
    Reaktionen
    1
    • 18. Juni 2021 04:17
    • #4

    That doesn't really do much for Imagemagick, if I wanted to stop using GD2 and use that instead. All of my image uploads with Imagemagick are like that.

    • Zitieren
  • dan40
    Benutzer
    Reaktionen
    1
    • 18. Juni 2021 04:42
    • #5

    Now I have another problem. Animated GIF files are failing to upload.

    Here's what it says:

    An error has occurred.

    0 GifCreator: v1.0.0: You have to give resource image variables, image URL or image binary sources in $frames array. ()
    Return to Control Panel

    I'm not sure what this is all about. All this since upgrading to PHP 8.0

    • Zitieren
  • MrMusic
    Moderator
    Reaktionen
    107
    • 23. Juni 2021 13:52
    • Offizieller Beitrag
    • #6

    Hi,

    is GD2 working now?

    If imagemagick is installed on your server you can use it as an alternative to GD2.

    If you want to upload gif images, it is advisable to activate the check box 'Problematic Image Files' in the upload form.

    Does the upload work then?

    Regards

    MrMusic

    JoomGalleryfriends.net - die neue Webseite für die JoomGallery

    • Nächster offizieller Beitrag
    • Zitieren
  • Elfangor93
    Moderator
    Reaktionen
    187
    • 28. Juni 2021 10:58
    • Offizieller Beitrag
    • #7

    ImageMagick should be independet from your PHP version. I guess there is a problem with imagemagick in general on your server. Are you able to perform -convert with imagemagick directly on your server terminal (SSH)?

    Which ImageMagick version are you using?

    I guess there are some small issues with the joomIMGtools object on php 8.0. I will take a look at it when i get the chance.

    Wir sind auf der Suche nach Helfern für die JoomGallery 4 Entwicklung!
    Melde dich bei Interesse bei mir (Elfangor93).
    (Verfügbare Jobs: PHP-Entwicklung, Testen, Übersetzen, Dokumentation)

    • Vorheriger offizieller Beitrag
    • Zitieren

Letzte Beiträge

  • URLs nach Update auf JoomGallery4 und SH404SEF /4SEF

    Bjoern 1. Juli 2025 23:56
  • Looking to replicate JG3 Gallery / Category View under JG4

    GJSchaller 1. Juli 2025 20:01
  • What can you do with Tags?

    FriendlyUser 30. Juni 2025 22:40
  • JG3 Bilder als Artikelbild verlinkt - Welche Migrationseinstellung erhält die Dateipfade?

    MrMusic 30. Juni 2025 10:21
  • JoomGallery for Joomla 4

    MrMusic 26. Juni 2025 13:53
  • Bearbeiten von Bildern nicht möglich

    kaufi88 26. Juni 2025 11:11
  • URLS nach Migration auf JG4

    Elfangor93 25. Juni 2025 12:45
  • Inconsistent category folder paths defined in the database of your JG3 tables

    MrMusic 24. Juni 2025 15:49
  • JoomImages Module in Joomgallery 4

    Elfangor93 17. Juni 2025 09:07
  • 4SEF have native support for JoomGallery

    Elfangor93 17. Juni 2025 08:36
  1. Datenschutzerklärung
  2. Impressum
Community-Software: WoltLab Suite™