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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Agileware’s picture

Priority: Critical » Normal
Status: Active » Fixed

Fixed in 6.x-2.x-dev.

vthirteen’s picture

Status: Fixed » Active

i'm afraid it's not because i am using 6.x-2.x-dev (of July 15th)

thank you

Agileware’s picture

Status: Active » Fixed

The 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).

vthirteen’s picture

oh, sorry. i didn't know. thank you very much for your help.

rantenki’s picture

Status: Fixed » Patch (to be ported)
FileSize
1.21 KB

Just 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.

Agileware’s picture

Status: Patch (to be ported) » Needs review

Changing status