![]() |
Repeating an image ?
is it possible to repeat an image thats not in the database
example if a user has 10 posts i want this image to repeat once and if they have 20 i want it to repeat twice etc any ideas. |
1 Attachment(s)
Well, you'd probably need a custom plugin to do what you want normally. If you use the image as a background, you can do it by changing the size of the container. For example:
Code:
<if condition="$postsbarwidth=$post['posts']/10"> Code:
<if condition="$postsbarwidth=intval($post['posts']/10)*15"> I'm sorry, I'm affraid that this is pretty complicated... |
thx m8 but i was woundering if it was possible to repeat the same image again and again every xx posts
like pip1.gif = 0 posts then pip1.gif x 2 = 25 posts etc thx inadvance |
something like Ranking for Images in Posts... hum, strange... lol
|
whys it strange m8
|
nothing personal wolfe, it's just the "reason why it would be useful"... i'd like to have your reason here, so maybe we can have a more precise code to offer... you explain what you intend to do, but not the reason why...
programming is about reasons/targets, not means... :) |
m8 i released a hack https://vborg.vbsupport.ru/showthread.php?t=148482 which i want to make smaller using image repeat
|
Quote:
|
All times are GMT. The time now is 07:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|