studio

site development

Welcome, Guest
Please Login or Register.    Lost Password?

Problem with smartresize
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Problem with smartresize
*
#500
Problem with smartresize 1 Year, 11 Months ago Karma: 0
I'm having a problem getting the expected results from smartresize. I new at all this (joomla and smartresize) but I'm using the latest stable version of joomla (downloaded it last week) and version 1.13 of smartresize. I get a border around the image but no resizing. I've attached a word document that has information that should show everything I've done and the results I get. Any help would be appreciated.

File Attachment:
File Name: Plugin_details.doc
File Size: 79360
Mike G
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#502
Re: Problem with smartresize 1 Year, 11 Months ago Karma: 6
Hello.
First. The sizes you set in plugin parametres are too small (5px). Set the real sizes (50-100)

GENERAL TWO: You should use relative Joomla path for image src, such us
Code:

<IMG src="images/image.jpg">

Also You should place images into Joomla site folder /images.
Also You can use absolute path for image src, such as
Code:

<IMG src="http://www.yoursite.com/images/image.jpg">


You should not use the file system path such as
Code:

<IMG src="c:\myserverfolder\image.jpg">
Igort
Administrator
Posts: 560
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/12 17:57 By Igort.
The administrator has disabled public write access.
 
#503
Re:Problem with smartresize 1 Year, 11 Months ago Karma: 0
I made the changes you suggested and while there was some difference in result it still isn't what you would have expected. I also looked in the image folder and there was no thumbnail created for my image. I did as you suggested and moved the original picture into the image folder and added it to the article from there. A;so if I click on the image placeholder (that displays in the article where the thumbnail should be) the result is not the full image but simply the placeholder shows up again. as before, any help appreciated - I realize I'm doing some dead wrong but whatever it is, isn't obvious.
File Attachment:
File Name: Plugin_details_2.doc
File Size: 54272
Mike G
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/12 20:20 By Mike G.
The administrator has disabled public write access.
 
#504
Re:Problem with smartresize 1 Year, 11 Months ago Karma: 6
Your img source path is invalid. Do you set it manually? Use TinyMCE editor to add image into article. You source path must be the following:
Code:

images/stories/image.jpg

or full URL
Code:

httt://www.yourlocalhost.com/images/stories/image.jpg

but not this
Code:

http://localhost/joomla1514/images.. - it is wrong URL
Igort
Administrator
Posts: 560
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/12 20:51 By Igort.
The administrator has disabled public write access.
 
#505
Re:Problem with smartresize 1 Year, 11 Months ago Karma: 0
Still not working. I used the "picture" button at the top of the editor (previously I'd used image button at the bottom).

This is the editor source (cobtained by clicking on the "Toggle editor button):
<P><IMG style="FLOAT: left" src="images/stories/tarkingtontower.jpg" mce_style="float: left;" mce_src="images/stories/tarkingtontower.jpg">&nbsp;</P>

After I add the class=smartresize command it looks like this:
<P><IMG class=smartresize style="FLOAT: left" src="images/stories/tarkingtontower.jpg" mce_style="float: left;" mce_src="images/stories/tarkingtontower.jpg">&nbsp;</P>

When I toggle back I see the very large picture that was loaded from:
images/stories/tarkingtontower.jpg

If I toggle back to the source again, I see:
<P><IMG style="FLOAT: left" class=smartresize src="localhost/joomla15/images/stories/tarkingtontower.jpg" mce_style="float: left;" mce_src="images/stories/tarkingtontower.jpg">&nbsp;</P>

When I preview my site, I get the placeholder icon.


-----

came back to add that the image folder is marked as "read only" in properties. could that be preventing the creation of a thumbnail?

tried to change the permissions but couldn't, for some reason my OS will not permit it. I'm using Vista on my machine.
Mike G
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/12 21:44 By Mike G.
The administrator has disabled public write access.
 
#506
Re:Problem with smartresize 1 Year, 11 Months ago Karma: 6
Its very strange. Try to set TinyMCE editor plugon parameter "URLs" to value "Relative". Then use "Image" button at the bottom of editor to add image. Then select image and open image properties with "picture" button of editor tools panel. Set class smartresize, set needed width and height of image, then press Ok and save article.

Your image src must be images/stories/tarkingtontower.jpg
Your use very strange server software, which make strange URL such as
Code:

http://localhost/joomla1514/images

Try to do relative path of img src images/stories/tarkingtontower.jpg
Igort
Administrator
Posts: 560
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#507
Re:Problem with smartresize 1 Year, 11 Months ago Karma: 0
I checked the parameters for the editor and it was the "relative" setting for URLs.

I also loaded the image using the button at the bottom of the editor screen, then selected the loaded image and clicked on the HTML button (instead of using the editor toggle button).

The HTML before I changed it:
<P><IMG alt="" src="localhost/joomla15/images/stories/tarkingtontower.jpg" mce_src="images/stories/tarkingtontower.jpg">&nbsp;</P>

I then made the changed "src=" string (but didn't yet click update so you could see the change I made:
<P><IMG alt="" src="images/stories/tarkingtontower.jpg" mce_src="images/stories/tarkingtontower.jpg">&nbsp;</P>

Then added the class=smartresize command:
<P><IMG alt="" class=smartresize src="images/stories/tarkingtontower.jpg" mce_src="images/stories/tarkingtontower.jpg">&nbsp;</P>


Then I clicked on the HTML source editor update button. I clicked it again so I could double check the result:
<P><IMG class=smartresize alt="" src="localhost/joomla15/images/stories/tarkingtontower.jpg" mce_src="images/stories/tarkingtontower.jpg">&nbsp;</P>



by the way, the server software is: XAMPP if that matters. Also the O/S is Windows Vista as I'm developing this locally before I upload it to a "for real" host.


By the way, I noticed that: localhost/joomla15/images/stories/tarkingtontower.jpg


is a valid URL once I posted it "here". So I clicked on it to see if that would display the picture for me and I got the following message:

Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.

Error 403
localhost
03/12/10 16:17:48
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
Mike G
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/13 00:21 By Mike G.Reason: to add additional information
The administrator has disabled public write access.
 
#510
Re:Problem with smartresize 1 Year, 11 Months ago Karma: 6
Hello Mike.
I do not know how to configure XAMPP properly. I use another server software for local server.
But I can assume by analogy with my local server, you must assign a virtual host name for the folder of your site, such as mysite.com.
Appeal to your local site not should be via localhost/yoursitefolder, but should be addressed through the virtual domain mysite.com. Try to set up your local server so
Igort
Administrator
Posts: 560
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/13 10:53 By Igort.
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Igort
get the latest posts directly to your desktop

Announcements

Экономичность и качество.
Несовместимые ранее понятия стали возможными у нас благодаря применению новейших технологий сайтостроения. Современная система управления сайтом, тщательное тестирование, модульность сайта - все это позволило сократить затраты на производство.