full details beyond
SOLVED Modified Dload.php
Subject: Re: Modified Dload.php
I'm sorry but I don't understand what you're asking... Can you try to explain it in other way?
Thanks!
Thanks!
Subject: Re: Modified Dload.php
I want to change dload.php so I can see the image and on index
full details beyond
I want the picture of a file to appear on the index under the name

full details beyond
I want the picture of a file to appear on the index under the name
Subject: Re: Modified Dload.php
. . .
I try to sum up : You want to show the screenshot of the style to appear in the dload index ?
I try to sum up : You want to show the screenshot of the style to appear in the dload index ?
Subject: Re: Modified Dload.php
i want to appear screenshot to file and the index, just below the name and description
Subject: Re: Modified Dload.php
Below, on another line ?
Or on the same line, like an icon ? Because this last possibility could be much more easier. It just would mean add one <td> ( a column ) into your dload index with the screenshot resized.
Or on the same line, like an icon ? Because this last possibility could be much more easier. It just would mean add one <td> ( a column ) into your dload index with the screenshot resized.
Subject: Re: Modified Dload.php
Ok, let's see...
Open templates/default/pa_category_body.tpl
FindReplace withFindReplace withFindReplace withFindReplace with
Enjoy!
Open templates/default/pa_category_body.tpl
FindReplace withFindReplace with
<br /><span class="genmed">{file_rows.FILE_DESC}</span>
<!-- IF file_rows.HAS_SCREENSHOTS -->
<br />
<!-- IF file_rows.SS_AS_LINK -->
<a href="javascript:mpFoto('{file_rows.FILE_SCREENSHOT}')" class="topiclink"><img src="{file_rows.FILE_SCREENSHOT_URL}" alt="{L_SCREENSHOTS}"></a>
<!-- ELSE -->
<img src="{file_rows.FILE_SCREENSHOT}" alt="{L_SCREENSHOTS}" />
<!-- ENDIF -->
<!-- ELSE -->
<!-- ENDIF -->
</td>
<!-- IF file_rows.HAS_SCREENSHOTS -->
<br />
<!-- IF file_rows.SS_AS_LINK -->
<a href="javascript:mpFoto('{file_rows.FILE_SCREENSHOT}')" class="topiclink"><img src="{file_rows.FILE_SCREENSHOT_URL}" alt="{L_SCREENSHOTS}"></a>
<!-- ELSE -->
<img src="{file_rows.FILE_SCREENSHOT}" alt="{L_SCREENSHOTS}" />
<!-- ENDIF -->
<!-- ELSE -->
<!-- ENDIF -->
</td>
<td class="row2 row-center">
<!-- IF file_rows.HAS_SCREENSHOTS -->
<!-- IF file_rows.SS_AS_LINK -->
<a href="{file_rows.FILE_SCREENSHOT}" class="topiclink" target="_blank"><img src="{file_rows.FILE_SCREENSHOT_URL}" alt="{L_SCREENSHOTS}"></a>
<!-- ELSE -->
<a href="javascript:mpFoto('{file_rows.FILE_SCREENSHOT}')" class="topiclink"><img src="{file_rows.FILE_SCREENSHOT_URL}" alt="{L_SCREENSHOTS}"></a>
<!-- ENDIF -->
<!-- ELSE -->
<!-- ENDIF -->
</td>
</tr>
<!-- IF file_rows.HAS_SCREENSHOTS -->
<!-- IF file_rows.SS_AS_LINK -->
<a href="{file_rows.FILE_SCREENSHOT}" class="topiclink" target="_blank"><img src="{file_rows.FILE_SCREENSHOT_URL}" alt="{L_SCREENSHOTS}"></a>
<!-- ELSE -->
<a href="javascript:mpFoto('{file_rows.FILE_SCREENSHOT}')" class="topiclink"><img src="{file_rows.FILE_SCREENSHOT_URL}" alt="{L_SCREENSHOTS}"></a>
<!-- ENDIF -->
<!-- ELSE -->
<!-- ENDIF -->
</td>
</tr>
Enjoy!
Subject: Re: Modified Dload.php
[critics]
Tshhh !
Thank you KasLimon but, Juve ! When someone try to help you, you could AT LEAST do not ignore him ! We aren't at your disposition and we are voluntary so you could at least consider it and make some efforts to understand AND to be understood when you ask something !
Seriously such kind of mind doesn't make me want to help anyone ...
[/critics]
Tshhh !
Thank you KasLimon but, Juve ! When someone try to help you, you could AT LEAST do not ignore him ! We aren't at your disposition and we are voluntary so you could at least consider it and make some efforts to understand AND to be understood when you ask something !
Seriously such kind of mind doesn't make me want to help anyone ...
[/critics]
Subject: Re: Modified Dload.php
What makes you think that odd thank ? saw the message later because I was gone
KasLimon thanks very much
i have a problem, image appears at normal size and I want to defend the image size small, kind of \ "riseze \"
Yros wrote: [View Post]
What makes you think that odd thank ? saw the message later because I was gone
KasLimon wrote: [View Post]
KasLimon thanks very much
i have a problem, image appears at normal size and I want to defend the image size small, kind of \ "riseze \"
Subject: Re: Modified Dload.php
Find :
Just set the size by adding style="width: XXXpx or XX%;" ( choose if you want to display it in pixel or in % ... Pixel would be better I think in your case. For sample, it will be :
( need it on both <img> ) With this code it will set your image to 100*100 px. You also can add a height value for sample :
style="width: 250px; height: 100px;"
But as your pictures are square ... Width should be enough.
About my message, I posted mine one day before yours so I hardly guess that you didn't read it when you opened the topic again but never mind ...
Quote:
Just set the size by adding style="width: XXXpx or XX%;" ( choose if you want to display it in pixel or in % ... Pixel would be better I think in your case. For sample, it will be :
Quote:
( need it on both <img> ) With this code it will set your image to 100*100 px. You also can add a height value for sample :
style="width: 250px; height: 100px;"
But as your pictures are square ... Width should be enough.
About my message, I posted mine one day before yours so I hardly guess that you didn't read it when you opened the topic again but never mind ...
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.6231s (PHP: 4% SQL: 96%)
SQL queries: 10 - Debug Off - GZIP Enabled