How to create a crop for the cover image
-
i ‘ve a problem that i would really like to resolve as soon as possible !
i know that buddypress supports uploading profile picture with a crop
but also it supports uploading cover photo but “WITHOUT” a crop ..
i really would like to make the cover-images upload with CROP …
i have tried to do that in the code but it doesnt really work …here is the path that i have tried in
\buddypress\bp-templates\bp-legacy\buddypress\assets\_attachments
in this file i have found 2 main folders .. 1) cover-image 2)profile avatar
also i have noticed that inside the profile avatar there is 3 files (index-crop-camera)
while inside the cover image there is only one file which is (index)
i tried to put the file “crop” inside the cover-images folder also i have added this code line ….
<?php bp_attachments_get_template_part( ‘cover-images/crop’ ); ?> /*i replaced the word avatar with the word cover-images in that code line.
please support me with a hint or something .. this is very important to me .. thank you !
- The topic ‘How to create a crop for the cover image’ is closed to new replies.