I am trying to get the image sizer plugin to work but not even close. I am using this code
{exp:imgsizer:size src="images/uploads/watchimages/dw210.jpg" width="100" alt="My Title" id="{entry_id}” class=”entry_img”}
I know the the jpg images is there. If this code is correct the only other prblem I came up against was when I created my cache it just disappeared is this an ISP problem (they wont allow you to create cahe folders possibly)
help please
Adam
[Mod Edit: Moved to the Plugin: Discussions and Questions forum]
Have you tried with a full server path such as :
http://www.example.com/images/uploads/watchimages/sw210.jpg
Also if you check the image URL in a browser does it show all right? May be a permissions issue. Also did you create (if the plugin hasn’t done it for you) a cache folder (all write permissions needed) in the same folder as where the images are located?
Someone was having a problem with this not long ago but they were using a hosts file to go to an IP located server.
Hope some of that makes sense and helps a bit.
Best wishes,
Mark
I think it is something to do with this cache folder I created it with FTP and it disappeared my ISP is looking at it now. Mark I have been following the threads about file extension and image sizer, Could you tell me if file upload can be told what compression to recreate the files it creates. I had got the files down to 20-30k it has manged to get them up to 120-130k.
regards
Adam
I now have the image working using
{exp:imgsizer:size src="/images/uploads/watchimages/dw2101.jpg" width="100" alt="{image1}” id=”{entry_id}” class=”centred”}
the error was because of the cache folder went a bit squiffy. How do I now call the fileusing something like {image1} instead of the whats there now I tried {image1}(which is the custom field name) and that didnt work. How does everybody else do it?
many thanks
Adam
Hi Adam,
I think it is something to do with this cache folder I created it with FTP and it disappeared my ISP is looking at it now. Mark I have been following the threads about file extension and image sizer, Could you tell me if file upload can be told what compression to recreate the files it creates. I had got the files down to 20-30k it has manged to get them up to 120-130k. regards Adam
Not too sure about that one. The File extension should literally just upload the files and not re-size them at all. I’ve used the File extension on a number of sites and have never seen it do that so not too sure what that would be I’m afraid. There might be mention of it in the File extension thread if other people have had that problem before though.
I now have the image working using {exp:imgsizer:size src="/images/uploads/watchimages/dw2101.jpg" width="100" alt="{image1}” id=”{entry_id}” class=”centred”} the error was because of the cache folder went a bit squiffy. How do I now call the fileusing something like {image1} instead of the whats there now I tried {image1}(which is the custom field name) and that didnt work. How does everybody else do it? many thanks Adam
If you are using the File extension then to use it in conjunction with the Image Sizer plugin then you should just be able to do this :
{exp:imgsizer:size src="{image1}" width="110" height="110" alt="{title}" title="{title}" id="{url_title}" class="{title}"}
That should work if you are just uploading one image to the File field as I do this on quite a few sites. I see that you are using {image1} as the alt tag in the Image Sizer plugin so just wondering does that work? If so then it should also work for the src=”“ parameter too.
Best wishes,
Mark
Mark I finally got everything working. I will look at the image size problem later. I had not put the tag in its brackets that I saw you had mentioned in another thread {image1}{/image1} that was it really. I would also like to know how I put a link on the thumbnail with this method if you could help.
regards
Adam
Hi Adam,
When you say a link on the thumbnail, what do you mean exactly? Where do you want the thumbnail to link to exactly?
If you can show some template code that you have so far and say where you want it to link to then I should be able to help you out.
You can do things like this though :
<a href="http://{image1}" rel="lightbox" title="{title}">{exp:imgsizer:size src="{image1}" width="110" height="110" alt="{title}" title="{title}" id="{url_title}" class="{title}"}</a>
Best wishes,
Mark
Hi Adam,
Excellent news. Glad you have it sorted now 😊
On the part of SAEF I don’t currently use the File extension for that as I have never been able to get it working although that was when the extension first came out. I know a lot of people have had it working with the latest version but I haven’t really ever had the need to do that so no sorry but I’ve never used it with an SAEF.
How much information would you be needing to get from people and what for? The way I have done this before is to use the Freeform module e-mailing to a Moblog e-mail address and getting the file uploaded using the Freeform module and the data placed into the weblog via the Moblog. A slight workaround but once you have it all set up properly then it can be really quite neat.
Best wishes,
Mark
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.