|
Haven't registered yet? Do it here now!
|
kill4
Joined: 16 Jan 2007 Posts: 28
|
|
|
|
|
|
|
Posted: Tue Feb 13, 2007 9:48 pm Post subject: WYSIWYG Problem |
|
|
|
|
|
|
|
|
|
|
When i upload a image in the new WYSIWYG editor it uploads find then once it uploads i see the preview in the little preview box, then it says
"please wait while loading" and never finishes loading, although the image does get uploaded. The only way to exit this is to close the ibrowser window and re-open it.
Second problem, when i insert the image into the post in the WYSIWYG editor, the image appears fine, but when i actually add the post to the blog, the image gets linked wrong, not showing the image. It's linking the image to my root directory and the image is not there, it's in the "/bo/boimages/" directory were the ibrowser uploads it to. How can i fix this? |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Feb 17, 2007 2:59 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, make sure the /bo/boimages/ directory is 777 so the script can write to that directory and save your uploaded images. If problemable again, let me know.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Vadim
Joined: 30 Aug 2006 Posts: 75
|
|
|
|
|
|
|
Posted: Sat Feb 17, 2007 3:07 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Hi Atanasis
have a look at the second problem. If a image is uploaded for a blog not served on the same domain, we must include the path to BO-folder to show up the uploaded pictures in the blog. It is missing the pass http://server.com/bo.......
Greetings
Vadim |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Feb 17, 2007 3:21 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, let me explain how its setup to work..
When you upload a image through the editor, it goes to the "/bo/boimages/" directory at the server where your BO is installed. When you save the post in the database, when it comes time the script to publish the post to the specific blog, the script is automatically replacing http://www.yoursite.com/bo/boimages with the proper blog url as the image is on the blog location itself. Then at the blog location, the htaccess file makes sure that image will be opene properly from the main BO install. So did you placed the new htaccess code on the blog where you try to do that post? I mean if the blogs is older than v 2.5 you should update the htaccess for your blog.
Let me know.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Vadim
Joined: 30 Aug 2006 Posts: 75
|
|
|
|
|
|
|
Posted: Sat Feb 17, 2007 3:25 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Hi Atanasis
thanks for explaination. Didn't expect, that image-Urls although handled by the hataccess.
Will give them a try.
Have a nice weekend
Vadim |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Feb 17, 2007 3:36 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
yeah, they are, because otherwise i would have to make the script somehow ftp/transfer them to the blog locations, which is not a good thing..
Let me know.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Vadim
Joined: 30 Aug 2006 Posts: 75
|
|
|
|
|
|
|
Posted: Mon Feb 19, 2007 10:27 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Hi Atanasis
One more question about WYSIWYG. This time for remote blogs. I had a test with that. I cant change the htaccess on the remote blog plus i got the following image-src in the html for a remote-blog post:
Code: | hallo welt<img src="/bo/templates/tinymce/jscripts/tiny_mce/plugins/ibrowser/../../../../../../boimages/fetischleder1734_150.jpg" alt="fetischleder1734_150" title="fetischleder1734_150" width="112" height="150" /> |
I think that could not be ok. Isn't it an idea to include the pass to image folder by the script. The script all variables.
Vadim |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 12:44 am Post subject: |
|
|
|
|
|
|
|
|
|
|
well, yes, its placing the urls like that in the code itself and it should be exactly like that. For regular blogs its fine, but i totaly forgot that for the remote blogs. I will make a quick fix tomorrow and will hit you up for test..
thanks for reporting.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 5:13 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
okay, i made a fix. download the upgrade package again, and just replace file "bofunctions.inc.php" , then go to make a post to remote blog, upload a pic through the editor and submit the post. then go at the remote blog and see if its fine... take in mind you must not have link protection at the BO install domain, coz the image will be server from there.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 5:16 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
let me know if its fine after the fix... _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Vadim
Joined: 30 Aug 2006 Posts: 75
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 6:55 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Hi Atanasis
I made the following:
First Post with an image previously uploaded. Its no change, no image in the remote-blog.
The i have uploaded an fresh image from the i browser, the it is ok.
But i think it should work although with images that are uploaded earlier.
Vadim |
|
|
|
|
|
|
|
Vadim
Joined: 30 Aug 2006 Posts: 75
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 6:56 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Edit:
I tried once again, its working, thanks!
But folks be carefull , when you right click to see the properties,the img-src resets and there is only bo/xxxx.jpg
Vadim
Sri for the edits.
I cant see the image in the post panel/ibrowser before i publish it. The url of the img-src is still correct. When i then edit the post it is viewable. |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 7:39 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
ok, so all fine now, right? _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Vadim
Joined: 30 Aug 2006 Posts: 75
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 7:45 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
All without the mentioned in the last sentence. BO-User must be aware when he edits the image properties. For example when u only wish to change the image-size, you want think every time, that ibrowser/BO changes the image-url to the local-url without any warning.
Vadim |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 7:52 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
what you mean? when you change the properties of the image, what local url gets changed? isn't the picture saved over itself? _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Vadim
Joined: 30 Aug 2006 Posts: 75
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 8:00 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
The workflow ist the following:
1) I made my post, inserted the image (all is ok, when i view html-view).
2) I wrote some text an see i wish to change the image-size. Right Click - change properties. An now you see that the image-url had changed to the local link "boimages/picture.jpg". And if you only change the imagesize or nothing and click ok/submit and then checks in the html-editor the image-url has changed. You will not notify that, because the image is viewable.
Hopes my english is good enough.
Vadim |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 10:29 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, yes, the editor is using local urls in for the uploaded images, but when the post is being published to the blogs or sent to remote blogs those urls are replaced with the actual ones. Anyways, the image still stays with same name and in the /boimages/ folder, so its not broken when its shown at the blogs, right? _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Vadim
Joined: 30 Aug 2006 Posts: 75
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 10:47 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
No it does not appear in the remote-blog, i have to edit the image-url manually before publish in the image properties |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Tue Feb 20, 2007 10:57 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
hm, strange.. gonna look into that.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
kill4
Joined: 16 Jan 2007 Posts: 28
|
|
|
|
|
|
|
Posted: Thu Feb 22, 2007 11:08 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | well, make sure the /bo/boimages/ directory is 777 so the script can write to that directory and save your uploaded images. If problemable again, let me know.. |
Well it's writing to that directory, the image gets uploaded fine in the /bo/boimages/ directory. The problem is when i add the post to the blog, the image doesn't get linked right. Instead of grabbing the image from the "/bo/boimages/" directory, the outputted html grabs the image from my root directory. Hope i explained my self right. |
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |