Author Topic: Removing thumbnails ->>> Directly to Image ?  (Read 5574 times)

0 Members and 1 Guest are viewing this topic.

Offline mike30

  • Newbie
  • *
  • Posts: 18
    • View Profile
Removing thumbnails ->>> Directly to Image ?
« on: January 02, 2009, 01:19:44 AM »
Hello 4images community! Quick question.

How to replace thumbnails and have regular size images , which will be clickable like thumbnails were before.

Thanks and I hope someone will answer my question.
« Last Edit: January 03, 2009, 01:15:29 AM by mike30 »

Offline mike30

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Removing thumbnails ->>> Directly to Image ?
« Reply #1 on: January 03, 2009, 12:56:43 AM »
Guys, please help me.  :oops:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Removing thumbnails ->>> Directly to Image ?
« Reply #2 on: January 03, 2009, 02:03:27 AM »
In includes/functions.php find two times (this is part of a line):
Code: [Select]
$thumb_file_name, "thumb"
Replace both with:
Code: [Select]
$media_file_name, "media"
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mike30

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Removing thumbnails ->>> Directly to Image ?
« Reply #3 on: January 03, 2009, 04:55:34 AM »
I want to thank you V@no  for this reply!

I did everything like you said, but "Registered Users" , "Random Image", etc. areas are stretched out of browser.

Maybe "Random Image" stretches page?

What do you think is the reason for that?

Thank you very much for your help V@no .

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Removing thumbnails ->>> Directly to Image ?
« Reply #4 on: January 03, 2009, 07:48:43 AM »
Because 4images uses the same function that generates HTML for thumbnails, you can't have two different sizes without doing changes deep into the code.

Perhaps if you try to explain what exactly you are trying to achieve, we could find a solution.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mike30

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Removing thumbnails ->>> Directly to Image ?
« Reply #5 on: January 04, 2009, 07:31:10 AM »
Thanks V@no for your reply!

Sure, I'll explain. Gallery will be for aquarium fish lovers, they will be able to download user bars and use them in their forum signatures.

All I want to do is to allow members to see regular size of user bars on index page and on other pages, but as you know already everything is stretched even when I change options to "2 columns of images", but no way it still shows "registered user" area stretched to the right and images are also out of my browser. What else should I tell you?

V@no, maybe random image area scratches everything, what if just leave that area with previous thumbnail ?

What do you think about removing random image area, will it change things somehow?

Thanks a lot for your help V@ano!

Offline mike30

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Removing thumbnails ->>> Directly to Image ?
« Reply #6 on: January 04, 2009, 04:21:21 PM »
Can anyone please help me with this?  :oops:


Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Removing thumbnails ->>> Directly to Image ?
« Reply #7 on: January 04, 2009, 06:58:39 PM »
Do you have a link?

To me it sounds more like a template problem