Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
in one of my profiles I set an image as background but the image is not generated due to this:
Signwriter: unsupported image type: sites/all/themes/mytheme/img/myfolder/myimage.jpg
the same happens saving the same image as png or gif. am I missing something?
thank you.
Comment | File | Size | Author |
---|---|---|---|
#5 | signwriter_6.x-2.x-dev.bgimagefix.patch | 1.21 KB | rantenki |
Comments
Comment #1
Agileware CreditAttribution: Agileware commentedFixed in 6.x-2.x-dev.
Comment #2
vthirteen CreditAttribution: vthirteen commentedi'm afraid it's not because i am using 6.x-2.x-dev (of July 15th)
thank you
Comment #3
Agileware CreditAttribution: Agileware commentedThe new version is not up yet. The packaging script only runs once every 12 hours.
There should be one out soon dated 5th August.
But there is also now a beta release that has the same fix (packaging script for releases runs every 5 mins so it goes up first).
Comment #4
vthirteen CreditAttribution: vthirteen commentedoh, sorry. i didn't know. thank you very much for your help.
Comment #5
rantenki CreditAttribution: rantenki commentedJust tested again using the Signwriter 6.x-2.x-dev from Aug 12/09. Problem is not actually solved (although I have a patch). Perhaps this is only a related bug, but I cannot see how background images would have worked at all, so I am putting it here.
The signwriter_create_image function depends on an uninitialized variable for an array index to determine the background image. It also lacks an index offset when determining the file to use forGD function imagecreatefromFILETYPE, so it would have tried to create an image from an array, instead of string filename. I fixed this via a default idx of zero, and fixed the filename issue.
Note that this patch does not address different background images per profile for the tristate profiles, even though they are allowed by the admin page. I expect there is some ongoing work happening here, so I didn't mess with it. I am not using the tristate anyhow, so I am unaffected.
Comment #6
Agileware CreditAttribution: Agileware commentedChanging status