Elxis CMS Forum
Support => General => Topic started by: rentasite on September 28, 2008, 23:38:17
-
Hi,
The screenshots taken through Web link manager, are 120x90 pixels - when using the "Load new image from Internet" option.
How and from where can i change that size for the screenshots? As i want them quite bigger :)
Thanks in advance
Spiros
-
?
-
Modify components/com_weblinks/weblinks.html.php
Somewhere in the middle of the file you will find something like this:
echo $linkStart."<img src=\"images/screenshots/".$row->screenshot."\" class=\"screenshot\" width=\"120\" height=\"90\" alt=\"".$row->title."\" title=\"".$row->title."\" /></a>"._LEND;
Change it to what ever you wish (I recommend you to keep aspect ratio)
-
Thank you VERY MUCH :D
-
OK. I changed it to width 170 and height 140. But it doesn't show correct. If you right click on the screenshot u will see that that something is not been changed (see attachment). The dimensions are not changed!!!!
Also, i found that i should changed the same values in /administrator/components/com_weblinks/admin.weblinks.html.php
document.write('<img src=' + jsimg + ' name="imagelib" width="170" height="140" border="0" alt="<?php echo $adminLanguage->A_PREVIEW; ?>" />');
But still the images don't show correct. Is there somewhere else... something else i must change? ???
[attachment deleted by admin]
-
Elxis get screenshots from out sources. The screen shots are getting by Elxis ready in these dimensions. Elxis does not resizes them.
-
So actually this means i cannot show, in noway, the screenshots more than 120x90pixels. :-\
Only by using printscreen and the "Use a local image" option.
Right?
-
Yes, and you will also have to change component's html to resize screenshots image and height to what ever value you wish.
-
Ok, here is something i found while i was searching the web for something to help me take fast screenshots from web sites.
WebShot
Allows you to take screenshots of web pages and save them as full sized images or thumbnails. Screenshots images can be output in the JPG, GIF, PNG, or BMP formats.
You can download it from here: http://www.websitescreenshots.com
It will help those who use the "use a local image" option in Elxis Administration. :) :)
-
Or you can use paint shop pro or photoshop to capture an image from your system and then resize it to whatever size you want. This is also useful for webpage displays.
-
wait....
how big do you want the images to be?
are you interested in dynamic image creation-?
in 2006.4 i hacked the files that datahell mentioned above and added in my site dynamic(in away) not local stored screenshots in order to avoid edit-upload
from websnapr.com 202px x 152px
try or live capture any site's screenshot on their site:
http://www.websnapr.com/
more fast if you dont want to dynamically request images from other servers,and want to manage size, is a plugin for firefox for website capture:
https://addons.mozilla.org/el/firefox/addon/5648
-
I tried websnapr.com before my previous post, but it never returned me a screenshot. Don't know why. Kept me too long waiting.
As for the addon... seems very useful. :) Thanks