when using the combination of drupal 5.21 with cck (5.x-1.10) + imagefield (5.x-2.6) , together with the ed_classifieds (5.x-1.5-8) the mobile tools (5.x-1.x-dev (2009-Aug-22)) and mobile_garland theme (5.x-1.4) for the specific reason of allowing users to upload classified ads from their mobile devices to the mobile site, and image uploading should be possible (which works together with imagecache (5.x-2.5)).
the problem is that when i use my mobile device to browse for image, and upon clicking the "upload" button my browser crashes so to say (it just closes) even if i use opera mini, default browser... all same problem.
i've looked into this for about a week now, and all i can deduce is that it's the upload button, if i create content for image content type then it works because image is submitted on form submit.
does anybody have a suggestion on how to go about this?.. btw: i think using mailsave and mailhandler is a little over the top for my simple solution.
thanks ahead of time
Comments
Comment #1
quicksketchYou will probably need to figure this out by yourself, considering no work is being done on the Drupal 5 version of ImageField. I don't even have cell phone service where I live (or have a phone that has internet) so testing this isn't even a possibility.
You might consider overriding the ImageField theming to hide the Upload button entirely in you mobile_garland theme and avoid the problem.
Comment #2
baxterjones commentedthanx for the advice, much appreciated... ended up searching and fixed it with this post... http://drupal.org/node/269315
but obviously modifying the css div to fit my imagefield.
oh and i don't use my phone's 3G to test either (costs a bit) i use firefox with user agent switcher 0.7.2 add-on with a few custom defined agents.. i.e. iphone _add this code_ (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16)
this way you can switch between the different types. enjoy
cheers,
B
Comment #3
quicksketch