Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: Insert thumbnail and a link when inserting an image
Pages: [1]   Go Down
  Print  
Author Topic: Insert thumbnail and a link when inserting an image  (Read 899 times)
0 Members and 1 Guest are viewing this topic.
gogetit
Newbie
*

Karma: 0
Offline Offline

Posts: 7


« on: September 02, 2010, 13:20:27 »


Hi,
Is there away to do the following:
If a commenter inserts an image larger than a specific size [let's say 180x180], only a 180x180 image will be displayed, with a link to the original image?
If the original image is less than 180x180, it will displayed as is.

[As a new user, I searched first, but couldn't find the answer]

Thanks.

Logged
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #1 on: September 02, 2010, 15:20:21 »

The JComments doesn't allow to attach any images but you could insert link with image inside it using bbcode tags IMG and URL.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
gogetit
Newbie
*

Karma: 0
Offline Offline

Posts: 7


« Reply #2 on: September 02, 2010, 16:02:12 »

Yes, that what I meant... is it possible to identify the width of the linked image and create a thumbnail+link if it's too big?
Logged
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #3 on: September 02, 2010, 16:04:15 »

No, JComments couldn't create any thumbnails. In my mind it isn't appropriate task for commenting system. If you're affraid that large images could broke your template layout you could set max-width for images through CSS.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
gogetit
Newbie
*

Karma: 0
Offline Offline

Posts: 7


« Reply #4 on: September 02, 2010, 16:06:48 »

Okay, thanks for the help!
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Insert thumbnail and a link when inserting an image
 
Jump to: