Related Topics


If no image uploaded for mp3 it doesn't show anything on some pages.  (Read 1369 times) Print

1 B


spirog  June 11, 2018, 07:45:49 PM

Hi there is some areas when you upload an mp3 file and not upload a  image. It shows a dead image. Is there a way to fix this. ?

Example you click on music and click on an uploaded mp3. So now on that page you have a few more mp3's below that will be next to watch - listen too. They do not have an image. It's just a dead looking image.

Anyway to fix this somehow. Without uploading image. ?

Thank you

Spiro

Logged


Rafael Q  June 11, 2018, 08:11:21 PM

Hi,

It feels to me like you have a default image missing on the server. Cause the initial plugin will take over if images are missing (no upload).

Logged
Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!


spirog  June 14, 2018, 09:47:49 AM

Where can I check if there is missing default images. What directory and where can I double check to see what default image is missing. ?

Thanks

Logged


spirog  June 17, 2018, 06:00:14 AM

in comments.php i found this code below


Code
} elseif($to < 1) {
$uhtml .= '<li id="reply-'.$cobj.'-'.$to.'" class="addcm '.$xtra.'">
<img class="avatar" data-name="'.addslashes(user_name()).'" src="'.thumb_fix(site_url().'/storage/uploads/def-avatar.jpg', true, 55, 55).'">
but in storage/uploads/    there is only def-avatar.png
when I make a copy of avatar and rename it to def-avatar.jpg it works but its not the letter  of the user its the actual def-avatar-.jpg if I remove def-avatar.jpg and leave only def-avatar.png I have tpo refresh to see the profile image ( latter of Image) example is user name : Mike the image shows the letter M as default image.

so anyway we can make the default profile image with the letter M show right away, without refresh page ?

thanks
unless you make page refresh every time you add a comment when you press comment button ? then it will show the default profile Letter M all the time

thanks

Spiro

Logged


spirog  June 17, 2018, 06:25:21 AM

sorry posted this is wrong section, can you delete last post about comments

thanks

Logged


spirog  June 17, 2018, 06:38:50 AM

missing image :    xmp3.jpg   or make a newer file called xmp3.jpg that looks nicer than this one for default music image if no image is uploaded
/storage/media/thumbs/xmp3.jpg

Logged


spirog  June 17, 2018, 06:41:26 AM

i just useed this one looks cool ??

Logged


Rafael Q  July 05, 2018, 05:23:42 AM

Hi,

Find this in phpvibe_app.js

Code
$('#comment-' + data.id).find('.body').html(shtml);
and try something like this
Code
$('#comment-' + data.id + ' .avatar').initial({charCount:1});

Logged
Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!