hello,I use portfolio-wide-3-columns-no-space to homepage,and I want to change a little about it
1,the image is 640X400 default,I want to chage it to other size.
2,about button"zoom"and "see more",I want to delet it.
how can I to do this thing?I can not find the way to do,thanks
Smith
Hi,
Could you send us your site url and point out location of your portfolio block which you would like to customise?
hello,my site is not yet complete,I mean that when people move the mouse up to each portfolio image ,that will appear file name/catalog and two button(zoom and see more),each porfolio image is 640X400 default,and I want to delet two button(zoom / see more),because people can click the file name to enter content.
thanks
the red circle is that I want to customise,thanks
Hi ,
can you tell the solution to this customization?
I need this too.
also i want to customize the size of display style ( gallery, fixed text) inside portfolio content type
regards
Marta
hi,I want to change "640X400" to other size,and delete button "zoom" and "see more",please tell me how to do,thnaks
Smith
Hi,
1, change the image size (640X400 default)
- Step1: Please go to yoursite.com/admin/config/media/image-styles/add and create image style as you want
- Step2: Open folder sites\all\themes\md_make\templates\views\block\portfolio => find all files, of which name starts with views-view-fields. In those files, search and change the code:
to:
In which, large is the default Drupal image style large. You just renam to image style (in step 1)
Then search and change the code
to
Save and clear cache
All files you need to change the code are highlighted in blue as follow:
2. Delete 2 buttons:
Please open template files inside folder sites\all\themes\md_make\templates\views\block\portfolio and remove the following code:
Or
You just need to hide those button by go to Themesetting => Custom code => Custom CSS, and add
Hi Cindy
thanks for your answer
i can do this changes to change image size in portfolio content type -> display style -> Fixed text???
thanks
Hi Marta.Oliveira,
To custom image style for portfolio node, please download the attched file in your email (we sent you an email) and replace the old file Field--Field-Multimedia--Portfolio.Tpl.Php in sites\all\themes\md_make\templates\fields\portfolio
Then open the new file, search the code
$style_img = "large";
and change large with the value of image style you want
thanks for reply Cindy,could you send me a file copy that you send to Marta.Oliveira?I want to try more change for the theme,and why need a new file to replace the old,why cant to do inside old file?thanks
Sure,
Please check your email, Smith
Hi,
in post #7 describe the change of image size in views, but this applies do view - our recent work?
I need to put the image appears with all image , and not cuted
thanks
Hi,
in post #7 describe the change of image size in views, but this applies do view - our recent work?
I need to put the image appears with all image , and not cuted
thanks
Hi,
We can get full image for "Our recent work" if we remove image style. However, if we do not use image style, images will display with different sizes leading block will be broken.
So we highly recommend you choose a type of image style that suits to your purpose. Example: image style Scale and crop
To use image style in Block our recent work, please :
Go to /admin/config/media/image-styles/add
Add new image style with machine name: portfolio_380x400
Open source code, replace file sites\all\themes\md_make\templates\views\block\portfolio\our recent works\views-view-fields--portfolio-our-recent-works-.tpl.php with enclosed file in our email.
=> configure image style "portfolio_380x400": select type of scale, resize or drop with 380x400. scale and drop is a good choice.
Hi, thanks
it's working :)
Hi,
it is safe to use
https://www.drupal.org/project/ais
in this view?
i want to out the images with several sizes and i dont want to remove style ( However, if we do not use image style, images will display with different sizes leading block will be broken. in post#14)
can i use this module in the same view that you send me by email?
if not, can you guide me and tell me what i need to change to put this view with 8 elements ( alreaday change view) in masonary style.
i put mt image style :
with 380 and no heigth
with Allow Upscaling
thanks
hi
can you help me , please?
Hi,
Please check your site. Our developer uses column boostrap and set 6 columns already.
You can change in sites/all/themes/md_make/templates/views/block/portfolio/our recent work, file views-view-unformatted--portfolio-our-recent-works-.tpl.php, customize "col-md-2" to number of column you would like.
Hi
thanks... thanks so much
Marta