hi. i recently installed Image Assist 6.x-2.x-dev on my Drupal 6.5 and i have 2 issues:
1. when i trying to upload image, after clicking on preview button - image is not showing, just a looks like frame with corresponding size of image. Then i click save button and it began to show 'Loading...' and that's it, image is not uploading. And it keeps showing until i cancel it. Don't know what's wrong....
2. i wonder, why you made changes in SPAN class of "inline" image in 6.x version? i mean in 5.x version of Image Assist when i put code of image it looks like this:
<SPAN class="inline right"><IMG src="link_to_image" alt="" title="" class=""></SPAN>
but in 6.x version it's not working, all images uploaded and put into node through Image Assist 5.x displaying wrong (not on left/right side, not flowing around the text). But when i make changes in existing code like this (putting dash between "inline" and "right"):
<SPAN class="inline-right"><IMG src="link_to_image" alt="" title="" class=""></SPAN>
then image displaying correct. So, how can i fix all my images without editing its code? (i have a couple hundred nodes with images, it'll take a long time to edit)
Comments
Comment #1
STINGER_LP commentedany help?
Comment #2
sun1) Not sure. Did you already try to clear your site's cache? Also, do you use jQuery Update maybe, i.e. a later version of jQuery than 1.2.6 that ships with core?
2) This was done to implement a unique CSS class ("inline") for all embedded images. You can just copy and paste the relevant contents of img_assist.css into your theme's stylesheet and add the necessary styling for both selectors if you like to. Another way would be to override IA's theme function for that markup code, so it produces the same output like before.
Comment #3
STINGER_LP commented1. Yes, i already cleared site's cache and i use jQuery Update 6.x-1.1
I installed stable 6.x-1.0 version and still have this problem.
2. So i didn't understand what i need to do to make old images embedded in nodes by 5.x vers. works correctly?
Comment #4
sunPlease try whether disabling other contrib modules on your site fixes this error. Furthermore, please test whether you can create new Image nodes by using the regular form and page located below Create content in the Navigation (i.e. node/add/image).
Comment #5
sunWithout further information I am forced to mark this issue won't fix.
Comment #6
STINGER_LP commentedsorry, i was gone for a while... anyway, you was right, this trouble caused by some other contrib module(s)... i'll post the name of that bastard(s) as soon as i figure it out by experimenting with on/off other installed modules.
And i'm still in question of what i need to do to make old images embedded in nodes by 5.x vers. of Image Assist works correctly (without editing every node, ofcourse)?
Comment #7
STINGER_LP commentedok, i track em down, it's "AJAX Forms 6.x-1.3" http://drupal.org/project/ajax
when this module is activated, images can't be uploaded. So i don't know this conflict caused by Image Assist or AJAX Forms...
Anyway, I can do without AJAX Forms somehow, but i need help to get to work old images in Drupal 6 embedded in nodes by 5.x version of Image Assist. What i need to do (without editing every node)?
Comment #8
codeknitter commentedI think I understand what's going on. Let me know if this explanation helps you.
The older version of image assist used the following code:
<span class="inline right"The newer version adds a dash:
<span class="inline-right"To fix the formatting for your old pictures, open your theme's cascading stylesheet, in an html or css editor, and add the following lines:
I got those lines from the image assist css file, and just removed the dash.
(This is what the earlier reply was instructing, but they were a little less explicit).