What can I do to help you get this feature working? I work with a Drupal developer I may be able to commission immediately.

Let me know,

-Steve

Comments

tjholowaychuk’s picture

Hello, I should have a release of this module up shortly, we are nearing completion of an Ubercart project that required this functionality but we have yet to put it through its paces.
If I do not have a release up within 3-5 days please remind me! I am insanely busy lately

tjholowaychuk’s picture

Version: » 5.x-1.0-beta
Status: Active » Closed (fixed)
steveoliver’s picture

Title: Open Development » Permission Denied
Status: Closed (fixed) » Active

Thanks, TJ.

I got the following error when trying to upload my first option image:

* warning: imagejpeg() [function.imagejpeg]: Unable to open '/surf-board-size-1-short_1.thumbnail.jpg' for writing: Permission denied in /my/web/root/includes/image.inc on line 339.
* Image derivative thumbnail failed to generate, or the image was to small.
* Image derivative preview failed to generate, or the image was to small.
* Image derivative showcase failed to generate, or the image was to small.

I've enabled the permissions in Access Control,

Any ideas?

-Steve

steveoliver’s picture

Title: Permission Denied » Permission Denied - Solved
Category: support » bug
Status: Active » Needs review

I made a change in line 363 of uc_option_images.module:

FROM: $dest = file_create_path('files/option-images');
TO: $dest = file_create_path('option-images');

This worked for me,

-Steve

tjholowaychuk’s picture

Status: Needs review » Fixed

It should probably actually be:
$dest = file_create_path(file_directory_path() . '/option-images');

I think I had files/ hardcoded in there for testing I dont remember

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.