Closed (fixed)
Project:
Image Picker
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
2 Apr 2008 at 15:56 UTC
Updated:
1 Jun 2008 at 11:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
hutch commentedIs the Iframe in the source html?
Comment #2
cheriejd commentedNo, the iFrame is not showing in the source code.
Comment #3
hutch commentedOK, then it's to do with The HTML Filters.
from readme.txt
2. Enabling imagepicker
Only users who have the right to use Full HTML filter will be able to use
imagepicker. This is done because Imagepicker uses some HTML, which will be
stipped out if user will not use this filter. Users, who has the right to use
Full HTML filter will be able to use Imagepicker instantly after installation.
If you want to enable Imagepicker module for other users, you will have to
reconfigure filters.
3. Configuring filters
Go to Administer > Site configuration > Input formats. You should see a list of
all available filter in your site. Choose Full HTML and click on the configure
link. In the Roles fieldset select all roles you want to be able to use this
filter and save configuration. To see these changes you will need to clear
Drupal's menu cache, otherwise, you will see Access denied page instead of
Imagepicker.
Comment #4
cheriejd commentedI figured it had something to do with that. So I checked all that before I even opened an issue as I didn't want to seem like a moron that would have someone else doing my easy troubleshooting. That just seemed wrong and you never learn if you don't read all you can about something before asking for help.
So, as stated in the initial email "I have checked the permissions, emptied the cache and am getting the feature when I (admin) log in to create a story."
The filters are set to full HTML, all roles are enabled and this is the default.
for filters I have Line break converter and URL filter on. The HTML filter and PHP Evaluator is not checked.
This configuration has been saved.
So all my users have the right to use Full HTML.
Where to now?
Comment #5
hutch commentedAccess is being denied in function imagepicker_get_access() which allows uid 1 (admin)
The code thereafter is a bit convoluted IMHO but if you are happy with all your users having the right to use Full HTML a dirty but quick hack would be to add
return true;
at the top of function imagepicker_get_access()
Not really a solution but it gets you out of a fix
My own implementations of imagepicker have all got a role for users other than 'authenticated user' and Full HTML is set for that role. Wether that is the reason it's working for me I don't know. Depending on how many users you have that might or might not be a solution. the userplus module and workflow_ng might come in handy.
HTH
Comment #6
cheriejd commentedHutch
Thank you for all the help (and really quick responses). Unfortunately, it is still not working. I do not have a function in any of my code that is imagepicker_get_access(). So that is probably a huge issue.
I would prefer that not all users have full HTML access, but the program gives me no other option when Full HTML is the default.
Should I reinstall imagepicker?
Comment #7
hutch commentedTry the attached imagepicker tarball
You should probably remove the old one completely
You will have to go into Access Control and give permissions to whichever roles you want
You do not have to use Full HTML, just add the HTML tags
To Filtered HTML
Comment #8
hutch commentedThere is now a new imagepicker version available, with many new fixes and features